how to make the contents of a file disappear after x numbers of days or at date
Nils Kassube
kassube at gmx.net
Thu Sep 9 15:10:42 UTC 2010
user1 wrote:
> >> I should be a kind of wipe operation :-)
> >
> > Can you explain what you mean with "disappear"? Should the result
> > be an empty file or e.g. a file with the same length and random
> > data?
>
> I mean the result should be an empty file (or a part of a file),
> where the "wiped" data is gone and cannot be restored.
Probably you can do what you want with the package wipe and a script in
/etc/cron.daily/ (or /etc/cron.hourly/) which would delete (wipe) old
files in a given directory tree. But your description is still too vague
to give more detailed advice.
Nils
More information about the ubuntu-users
mailing list