The stupid question is the question not asked | |
PerlMonks |
Re: Preserving timestamp with -i switchby duyet (Friar) |
on Sep 20, 2011 at 06:07 UTC ( [id://926829]=note: print w/replies, xml ) | Need Help?? |
Use -p option in cp to preserve mode, ownership, timestamp for i in `find . -type f -print`; do cp -p $i ${i}_bk;done
In Section
Seekers of Perl Wisdom
|
|