|
Home > Archive > Unix Shell > January 2007 > What is the date format for tar --newer
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
What is the date format for tar --newer
|
|
|
| Hello,
I would like to use the --newer option to filter out files for tar-ing
(I am mirroring a directory tree and need to transfer only the newer
files).
Once I do an initial transfer, I create a .time-stamp-file that I know
how to use in tar --newer=. But before the first transfer, that file
does not exist, and I would like to specify a default date, far back in
time, that will guarantee that all the files will get transferred.
I am not very familiar with linux/bash date formats. Also, I am using
cygwin+windows.
Many thanks,
Mirko
| |
|
|
On Jan 25, 2:13 pm, "Mirko" <mvuko...@nycap.rr.com> wrote:
> Hello,
>
> I would like to use the --newer option to filter out files for tar-ing
> (I am mirroring a directory tree and need to transfer only the newer
> files).
>
> Once I do an initial transfer, I create a .time-stamp-file that I know
> how to use in tar --newer=. But before the first transfer, that file
> does not exist, and I would like to specify a default date, far back in
> time, that will guarantee that all the files will get transferred.
>
> I am not very familiar with linux/bash date formats. Also, I am using
> cygwin+windows.
>
I may have figured it out. I tried Jan 1 1965, and tar did not
complain.
Mirko
> Many thanks,
>
> Mirko
|
|
|
|
|