Add File Action Move & Sym link

This commit is contained in:
Kyle Klein authored and Ruud committed 2013-04-12 21:10:30 +02:00
1 parent be595aba91
commit 177063d39c
2 files changed
+4 -1

No files matched your search

+3
View File
@@ -527,6 +527,9 @@ Remove it if you want it to be renamed (again, or at least let it try again)
symlink(old, dest)
elif self.conf('file_action') == 'copy':
shutil.copy(old, dest)
elif self.conf('file_action') == 'move_symlink':
shutil.move(old, dest)
linktastic.symlink(dest, old)
else:
shutil.move(old, dest)