diff options
author | kientzle <kientzle@FreeBSD.org> | 2005-03-13 18:36:24 +0000 |
---|---|---|
committer | kientzle <kientzle@FreeBSD.org> | 2005-03-13 18:36:24 +0000 |
commit | 832a34537616d1093fb52ae9d9707e29b6478cd5 (patch) | |
tree | 99397f59edd85b96554957b8340ccff96f6b540f /usr.bin/tar/bsdtar.h | |
parent | 14adec0b92fe37ac11c9bc5a0191400f4964c29b (diff) | |
download | FreeBSD-src-832a34537616d1093fb52ae9d9707e29b6478cd5.zip FreeBSD-src-832a34537616d1093fb52ae9d9707e29b6478cd5.tar.gz |
Add --newer-ctime, --newer-mtime, --newer-ctime-than, and --newer-mtime-than
switches to support selecting files by time of modification.
Special thanks to: Steven M. Bellovin, Rich $alz, and Jim Berets,
authors of the public-domain getdate.y date-parsing code.
Diffstat (limited to 'usr.bin/tar/bsdtar.h')
-rw-r--r-- | usr.bin/tar/bsdtar.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/usr.bin/tar/bsdtar.h b/usr.bin/tar/bsdtar.h index 339adba..12e210d 100644 --- a/usr.bin/tar/bsdtar.h +++ b/usr.bin/tar/bsdtar.h @@ -48,6 +48,10 @@ struct bsdtar { const char *create_format; /* -F format */ char *pending_chdir; /* -C dir */ const char *names_from_file; /* -T file */ + time_t newer_ctime_sec; /* --newer/--newer-than */ + long newer_ctime_nsec; /* --newer/--newer-than */ + time_t newer_mtime_sec; /* --newer-mtime */ + long newer_mtime_nsec; /* --newer-mtime-than */ int bytes_per_block; /* -b block_size */ int verbose; /* -v */ int extract_flags; /* Flags for extract operation */ |