WyldKard
Oct 18, 2013 - 23:13
It's easy to create a new file using workflows, but is there any way to delete a file locally or in Dropbox?
It's easy to create a new file using workflows, but is there any way to delete a file locally or in Dropbox?
Deleting local files is relatively easy via Python (e.g. os.remove(os.path.expanduser('~/Documents/myfile.txt')), but deleting Dropbox files isn't really possible, at least not without pretty significant effort (using the Dropbox API).
Btw, if you want to delete a local file that is currently open, you should open a different file first; otherwise, the editor would automatically save a new file.