Gentoo Archives: gentoo-user

From: Neil Bothwick <neil@××××××××××.uk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Way OT - date listed for a directory in ls -l
Date: Sun, 14 Aug 2005 16:28:23
Message-Id: 20050814172353.77b6c9a7@hactar.digimed.co.uk
In Reply to: [gentoo-user] Way OT - date listed for a directory in ls -l by Michael Sullivan
1 On Sun, 14 Aug 2005 10:51:41 -0500, Michael Sullivan wrote:
2
3 > Under what condition is the date of a directory (shown with ls -l)
4 > updated? Is it when the directory is created, or when a file somewhere
5 > below the directory is updated or some other time? I make weekly
6 > backups of the user accounts on my server box. Because space and CD
7 > media are in limited supply (at least for me) I write the backups to CD
8 > once a month. Full backups are made on Sunday and after a new Sunday's
9 > backup has been made I edit the previous Sunday's backup and delete all
10 > files that hadn't been changed recently when that backup (the one I'm
11 > editing) was made. This is a somewhat time-consuming method. I was
12 > just wondering if the directory date could give me a clue as to the date
13 > of the most recent file updated under that directory...
14
15 Try rdiff-backup, it does more or less what you are doing manually,
16 without all the hassle or potential for error.
17
18
19 --
20 Neil Bothwick
21
22 "They that can give up essential liberty to obtain a little
23 temporary safety, deserve neither liberty nor safety."
24 Benjamin Franklin