-N, --after-date DATE, --newer DATEBut what's the format for date? Further, if you try:
tar -czvf --newer "11 Mar 2009" www-incr-0311.tar.gz \...it creates a bogus file, --newer, which is a bear to delete.
www
(Try it. Frustration is good for the soul. The trick is to use the absolute path to file.)
Turns out, with tar, the dash-dash options must go at the end of the command line:
tar czvf www-incr-0311.tar.gz www \As for the date format, I decided to use mtime and an all numeric format:
--newer "11 Mar 2009"
tar -czvf www-incr-0311.tar.gz www \
--newer-mtime "20090301"
Most of commands have the -- option to remove bogus files :
ReplyDeleterm -- --newer