Removal of links after keeplink

All your suggestions, requests and ideas for future development
Post Reply
theburk
Posts: 2
Joined: 28 Feb 2017, 09:57

Removal of links after keeplink

Post by theburk »

Hi!

Thanks for a wonderful little program!

Im using Filebot on my synology with couchpotato and showrss

I download into /download/Series
And /download/Movies

and run 2 diffrent filebot scripts as cronjobs one for movies and one for series ..

But to skip extra disk writes with --action move
I changed into --action keeplink

Thing is that means everything stays in the download folder and clean doesnt remove the old files .. is there a way to make clean do a rm -r of the old dir? Or even just break the link?
User avatar
rednoah
The Source
Posts: 22986
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Removal of links after keeplink

Post by rednoah »

1.
Why would --action move cause disk writes?

2.
--action keeplink causes at least as many disk writes because "keeplink" is actually "move" followed by "symlink" so you gain absolutely nothing if you want to minimize disk writes.
:idea: Please read the FAQ and How to Request Help.
theburk
Posts: 2
Joined: 28 Feb 2017, 09:57

Re: Removal of links after keeplink

Post by theburk »

So the move just do a hardlink and removes the old files? Ill go back to move then.. but i had problems with some directories not being removed due to dir names spaces and not standard symbols in the name..
User avatar
rednoah
The Source
Posts: 22986
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Removal of links after keeplink

Post by rednoah »

1.
FileBot asks the operating system to do a "move" operation and if the source and destination path are on the same filesystem then the physical data won't be touched. If you're "moving" between filesystems then it'll have to copy the physical data and then delete the original file.

When creating hardlinks, the physical data is never touched. Hence, you can't create hardlinks to physical data residing on different filesystems.


2.
i had problems with some directories not being removed due to dir names spaces and not standard symbols in the name.
Only the logs can tell us why something may or may not have happened. "standard symbols in the name" is most likely not the reason though.
:idea: Please read the FAQ and How to Request Help.
Post Reply