tar and --newer usage?

mark m.roth2006 at rcn.com
Mon Jul 14 23:39:43 UTC 2008


Scott R. Ehrlich wrote:
> I have a RHEL 5.0 Server and CentOS 5.0 machine, both out-of-box
> installs, including all packages from CDs.
> 
> I have discovered that tar with the --newer option only seems to
> correctly perform the "diff" of newer files when it runs on the server
> housing the data (RHEL 5.0 in this case).   If I run it on exported
> directories (on the CentOS 5.0 system), all files are archived (i.e.
> --newer doesn't seem to do anything).
> 
> The exports are via CIFS.   Would it make any difference if the export
> was via NFS?
<snip>
You might look to see if there's a default on tar to not follow links to other
filesystems.

	mark




More information about the redhat-list mailing list