Article View: net.bugs.usg
Article #299Re: Some thoughts on enhancing cpio(1)
From: Geoff Kuenning
Date: Thu, 17 Apr 1986 08:56
Date: Thu, 17 Apr 1986 08:56
25 lines
1456 bytes
1456 bytes
In article <150@ttrda.UUCP> dwd@ttrda.UUCP (Dave Dykstra ) writes:
> ...except for the case
> where files are moved without changing their modification time. Then
> the files will not show up on the incremental backup but the file in the
> former directory will be removed.
Ah! But the *creation time* is changed when you move the file.
(Creation time is a misnomer; the real meaning of this field is
"last change to inode").
Thus, the following find command will pick up all files for a daily
incremental backup:
find / -mtime -1 -print -o -ctime -1 -print ...
or, if you have the mods to find that allow switches like -newercm, use
find / -newercm /.lastinc -print -newermm /.lastinc -print
(I think I have the character order right; it might be -newermc).
--
Geoff Kuenning
{hplabs,ihnp4}!trwrb!desint!geoff
Technical Details
Message-ID:
<200@desint.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!genrad!decvax!decwrl!pyramid!hplabs!sdcrdcf!trwrb!desint!geoffReferences:
<150@ttrda.UUCP>Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!genrad!decvax!decwrl!pyramid!hplabs!sdcrdcf!trwrb!desint!geoff From: geoff@desint.UUCP (Geoff Kuenning) Newsgroups: net.bugs.usg Subject: Re: Some thoughts on enhancing cpio(1) Message-ID: <200@desint.UUCP> Date: Thu, 17-Apr-86 03:56:19 EST Article-I.D.: desint.200 Posted: Thu Apr 17 03:56:19 1986 Date-Received: Sat, 19-Apr-86 14:21:04 EST References: <150@ttrda.UUCP> Reply-To: geoff@desint.UUCP (Geoff Kuenning) Organization: SAH Consulting, Manhattan Beach, CA Lines: 25