Hi Eric, On 2015-07-16 10:57, Eric Abrahamsen 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 not sure how portable > it is (and I'm really not pleased with the (concat attach-dir "/" d "/" > d+)), but I'm posting it to see if it's useful to anyone. > > Comments/improvements welcome! If the final product is desirable, I can > work it up as a patch. This would be most useful indeed. One quick question: why do you use "rm" instead of "delete-file"? Alan -- OpenPGP Key ID : 040D0A3B4ED2E5C7 Last week athmospheric CO₂ average (Updated July 14, 2015, Mauna Loa Obs.): 401.73 ppm