fsweeper
fsweeper copied to clipboard
os.Rename can't move files across drive letters and samba shares
https://github.com/reugn/fsweeper/blob/78f59e91210524441ec55ab76e80f65e3faeb7ae/rules/actions.go#L31
I've worked on a very similar task on a personal project and I've been browsing your code to get inspiration\places where I could improve my knowledge.
Care that os.Rename can't move files across different drives\shares on Windows. A full os.Copy and subsequent os.Remove is needed.