From: Emanuel Berg <embe8573@student.uu.se>
To: help-gnu-emacs@gnu.org
Subject: Re: deleting backup files dependant on their age
Date: Tue, 24 Nov 2015 01:58:00 +0100 [thread overview]
Message-ID: <87twoc6wo7.fsf@debian.uxu> (raw)
In-Reply-To: 874mgcebxk.fsf@skimble.plus.com
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
next prev parent reply other threads:[~2015-11-24 0:58 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-23 19:46 deleting backup files dependant on their age Sharon Kimble
2015-11-23 20:14 ` Eli Zaretskii
2015-11-24 0:01 ` Emanuel Berg
2015-11-24 0:58 ` Emanuel Berg [this message]
[not found] ` <mailman.585.1448326084.31583.help-gnu-emacs@gnu.org>
2015-11-24 4:46 ` Dan Espen
2015-11-25 1:26 ` Emanuel Berg
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87twoc6wo7.fsf@debian.uxu \
--to=embe8573@student.uu.se \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.