Why not a separate mode to move files to backup (Delete source file after backup)
e.g.:
phlb move ~/obsolete/files/
Currently you can run the backup and delete the source files after the run... But phlb can use shutil.move():
If the destination is on the current filesystem, then os.rename() is used.
So it's faster
Why not a separate mode to move files to backup (Delete source file after backup)
e.g.:
phlb move ~/obsolete/files/Currently you can run the backup and delete the source files after the run... But phlb can use shutil.move():
So it's faster