Re: [O] function for cleaning org-attach directories

2015-07-20 Thread Alan Schmitt
On 2015-07-18 05:11, Eric Abrahamsen e...@ericabrahamsen.net writes: Alan Schmitt alan.schm...@polytechnique.org writes: I gave this a try and it seems that `org-attach-directory' needs to be defined for it to work. I'm surprised because I never configured this and with gnorb I have had

Re: [O] function for cleaning org-attach directories

2015-07-17 Thread Alan Schmitt
On 2015-07-17 07:19, Eric Abrahamsen e...@ericabrahamsen.net writes: Here we go, and this one ought to be a little more portable. I guess I'll do it as a proper patch in a bit. I gave this a try and it seems that `org-attach-directory' needs to be defined for it to work. I'm surprised because

Re: [O] function for cleaning org-attach directories

2015-07-17 Thread Eric Abrahamsen
Alan Schmitt alan.schm...@polytechnique.org writes: On 2015-07-17 07:19, Eric Abrahamsen e...@ericabrahamsen.net writes: Here we go, and this one ought to be a little more portable. I guess I'll do it as a proper patch in a bit. I gave this a try and it seems that `org-attach-directory'

Re: [O] function for cleaning org-attach directories

2015-07-16 Thread Alan Schmitt
Hi Eric, On 2015-07-16 10:57, Eric Abrahamsen e...@ericabrahamsen.net writes: I use org-attach a lot, and if you're not careful you can get a data/ directory of many gigabytes. Not a problem, until you want to rsync it and it takes all day... I wrote this to clean my attach directories. I'm

[O] function for cleaning org-attach directories

2015-07-16 Thread Eric Abrahamsen
I use org-attach a lot, and if you're not careful you can get a data/ directory of many gigabytes. Not a problem, until you want to rsync it and it takes all day... I wrote this to clean my attach directories. I'm not sure how portable it is (and I'm really not pleased with the (concat attach-dir

Re: [O] function for cleaning org-attach directories

2015-07-16 Thread Eric Abrahamsen
Alan Schmitt alan.schm...@polytechnique.org writes: Hi Eric, On 2015-07-16 10:57, Eric Abrahamsen e...@ericabrahamsen.net writes: I use org-attach a lot, and if you're not careful you can get a data/ directory of many gigabytes. Not a problem, until you want to rsync it and it takes all

Re: [O] function for cleaning org-attach directories

2015-07-16 Thread Eric Abrahamsen
Eric Abrahamsen e...@ericabrahamsen.net writes: Alan Schmitt alan.schm...@polytechnique.org writes: Hi Eric, On 2015-07-16 10:57, Eric Abrahamsen e...@ericabrahamsen.net writes: I use org-attach a lot, and if you're not careful you can get a data/ directory of many gigabytes. Not a