Closed rob-miller closed 11 months ago
Just to highlight, this does not have the issues of #32 as shown by the test cases.
Hm, using --move without using --rmdirs, I'm finding that the .stfolder directory needed by syncthing is still being removed because it's empty. As I understand the rmdirs argument, that shouldn't happen. chattr fixed that for now.
closes https://github.com/ivandokov/phockup/issues/20 as option, not by default.
Adds an option --rmdirs which will delete empty subdirectories after processing with --move is complete. Respects --maxdepth.