Attached patch for org-attach-commit in org-attach.el removes the dependency on the xargs command to remove files in the repository that were deleted in the attachment directory. Simply capture output of git ls-files --deleted -z in a temporary buffer, get the filenames from there via string-split and call git rm on each single file. -- David -- OpenPGP... 0x99ADB83B5A4478E6 Jabber.... dmjena@jabber.org Email..... dmaus@ictsoc.de