tar --newer-mtime

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dear all,

Apologies if this is a silly question, but it's important enough for me
to ask as a double-check:

I want to do a once-off "incremental backup" of a server, in such a way
that I create a tar archive of only data files that have been created or
have been modified since a defined date.

Will this do the trick, for example?

tar -cvf incremental.tar --newer-mtime "24 Now 2007" *

I.e. only tar up files that have been CREATED or MODIFIED since
24.11.2007...

Thanks.

-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux