cp --update
stephen.r.gray_at_gmail.com
Date: 03/24/05
- Next message: spiv007_at_gmail.com: "remote syslog"
- Previous message: /root: "Creating bootable CD/DVD in Linux"
- Next in thread: Todd Blake: "Re: cp --update"
- Reply: Todd Blake: "Re: cp --update"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 24 Mar 2005 14:42:38 -0800
If I do:
cp -R --preserve=timestamps /dir1 /dir2
and then do:
cp -uR --preserve=timestamps /dir1 /dir2
The second command tries to copy files that have not been updated. The
timestamps are the same. The only difference is the permissions. Is
this the reason cp thinks these files have changed? I want cp to
ignore permissions and only look at the timestamp to determine if files
need to be updated.
Thanks for the help,
Stephen
- Next message: spiv007_at_gmail.com: "remote syslog"
- Previous message: /root: "Creating bootable CD/DVD in Linux"
- Next in thread: Todd Blake: "Re: cp --update"
- Reply: Todd Blake: "Re: cp --update"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|