how to make the contents of a file disappear after x numbers of days or at date

Johnneylee Rollins johnneylee.rollins at gmail.com
Thu Sep 9 16:32:27 UTC 2010


On Thu, Sep 9, 2010 at 4:20 AM, user1 <bqz69 at telia.com> wrote:
> Anybody know of a way to make the contents of a file (txt, html, jpeg,
> png, mp3, ogg etc.) disappear after a certain number of days.
>
> To make the whole content or a selected part of a file to disappear.
>
> The charateristic must be hidden in the file and not to be removed by a
> copy.
Cron. https://help.ubuntu.com/community/CronHowto

write a script to remove files. It can even have a config for a list
of files to remove at those intervals.
Also, you can check the date of the files and current time if you want
time elapsing. I personally want to switch to using the discordian
date system.

~SpaceGhost




More information about the ubuntu-users mailing list