From mboxrd@z Thu Jan 1 00:00:00 1970 From: Florian Lindner Subject: Moving and resetting attachments Date: Wed, 31 May 2017 14:29:03 +0200 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54328) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dG2ki-00022z-DS for emacs-orgmode@gnu.org; Wed, 31 May 2017 08:29:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dG2kc-0007nZ-3m for emacs-orgmode@gnu.org; Wed, 31 May 2017 08:29:28 -0400 Received: from [195.159.176.226] (port=36725 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dG2kb-0007mQ-SK for emacs-orgmode@gnu.org; Wed, 31 May 2017 08:29:22 -0400 Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1dG2kN-0003ev-Ur for emacs-orgmode@gnu.org; Wed, 31 May 2017 14:29:07 +0200 Content-Language: en-US List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org Hello, two questions about moving attachments to org files: C-c C-a a attaches a file and stores it under ./data/ID/... Using C-c C-a s I can set another directory a attachment directory. Can I make org-mode move the content of the previous directory to the new directory? Can I "reset" the attachment directory, i.e. like C-c C-a s but :ATTACH_DIR: is deleted and the contents of the previous directory are moved to ./data/ID? Rationale: I use org mode as a document management system. Create an entry Papers -> Interpolation -> ECCOMAS. I know create an custom attachment directory ECCOMAS, next to the org file as long as I am working on that paper. When it's finished, I want to move the contents of the ECCOMAS attachment directory to ./data/ID/. Thanks, Florian