help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: deleting backup files dependant on their age


From: Emanuel Berg
Subject: Re: deleting backup files dependant on their age
Date: Tue, 24 Nov 2015 01:58:00 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux)

If you want to try find(1), I "found" this site [1],
and if I modified it correctly for your purposes it
should be:

    find ~/.emacs.d/backups/.*~ -mtime +14 -exec rm {} \;

Be careful with this command! Don't blame me if you
wipe your disk. (Or you can blame me, but that won't
get your files back.)

[1] 
http://www.howtogeek.com/howto/ubuntu/delete-files-older-than-x-days-on-linux/

-- 
underground experts united
http://user.it.uu.se/~embe8573




reply via email to

[Prev in Thread] Current Thread [Next in Thread]