pruning old files
bhards at bigpond.net.au
Tue Oct 22 02:31:01 EST 2002
-----BEGIN PGP SIGNED MESSAGE-----
On Tue, 22 Oct 2002 10:46, Shinichi Maruyama wrote:
> jw> In the past i found that using find was quite good for this.
> jw> Use touch to create a file with a mod_time just before you
> jw> started the last sync. Then from inside $src run
> jw> find . -newer $touchfile -print|cpio -pdm $dest
> For pruning, how about to add the feature to rsync.
> Is it difficult ?
Shouldn't be. rsync already has feeping creaturism, although some
conservatives have been known to object on principle to adding cool new
> exclude files older than SECONDs before
Do you mean atime, mtime or ctime?
> ignore any operations with the files older than
> SECONDs before
> differ from --exclude-olders, these files are not
> affected from --include files or --delete-excluded
Same here. What does "operations" mean?
http://linux.conf.au. 22-25Jan2003. Perth, Aust. I'm registered. Are you?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
-----END PGP SIGNATURE-----
More information about the rsync