alpine9000 / squirt

squirt - Remotely manage your Amiga over TCP/IP from modern systems
GNU General Public License v3.0
33 stars 4 forks source link

Directories are not pruned #11

Open 320x200 opened 1 year ago

320x200 commented 1 year ago

Hello, Thanks for publishing this software. It is incredibly useful. I started to use it for regular backups and noticed that directories are not removed when the pruning option is enabled. I haven't looked closely yet, but could it be that right now only removal of single files is implemented? Thanks!

alpine9000 commented 1 year ago

I had a quick look at the code and it doesn't look like it's specifically excluding directories , it's possible it's an ordering problem. The directories are not empty when it tries to delete them as the files inside those directories will be pruned later in the process. If/when I get some free time I'll take a look, but I can't promise it will be any time soon.

320x200 commented 1 year ago

Thanks!