Use -p option in cp to preserve mode, ownership, timestamp
for i in `find . -type f -print`; do cp -p $i ${i}_bk;doneIn reply to Re: Preserving timestamp with -i switch
by duyet
in thread Preserving timestamp with -i switch
by umasuresh
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |