Hello, I have been using the AMC script to sort out my downloads folder on my home media server, I have a setup where files are transfered from my seedbox via rsync to my downloads folder, then the AMC script moves them between tv shows and movies, the problem is, when filebot moves them then rsync thinks they don't exist so has to download them again, is there anyway to make filebot only copy the files instead of move them so rsync does not keep downloading them, I know the better way would be to make rsync not redownload them but I am unable to find a way to do this as if rsync does not see them then it will automatically re-download them.
Hope this makes sense and thanks in advance,
Badgerbailey
Leave original files
Re: Leave original files
0. Don't use --action move then?
1. Copy
2. Create symbolic links (better than copy but may not work depending on how rsync treats symlinks)
3. Create hard links (create another filesystem entry that points to the same data on disk, i.e. 2 paths that are the same file)
Code: Select all
--action move
Code: Select all
--action copy
Code: Select all
--action symlink
Code: Select all
--action hardlink
-
- Posts: 5
- Joined: 05 Nov 2013, 15:08
Re: Leave original files
Great,
sometimes the simplest things are staring at you in the face
I like the idea of using symbolic links, but when I delete the original file from the downloads folder will it also delete the symbolic link or will this just appear as dead on my media player?
sometimes the simplest things are staring at you in the face

Re: Leave original files
Depends on what you want...
--action symlink source will be the file, destination will be the link
--action keeplink source will be the link, destination will be the file (I guess this is what you'd prefer)
You'll always have to delete file and link. But for links you can easily write a script to find and delete broken links.
--action symlink source will be the file, destination will be the link
--action keeplink source will be the link, destination will be the file (I guess this is what you'd prefer)
You'll always have to delete file and link. But for links you can easily write a script to find and delete broken links.
-
- Posts: 5
- Joined: 05 Nov 2013, 15:08
Re: Leave original files
Hello again,
sorry to be a pain, here is the original script from filebot that I was using:
filebot -script fn:amc --output "/home/gordon" -non-strict "/home/gordon/downloads/completed"
Where would I put the "action --copy" command in there?
Thanks in advance,
Badgerbailey
Edit: I found that adding -non-strict action --copy fixes this issue, however, i realised that some files are not getting copied, when I tried to do each file manually I get errors like the following: SevenZipException: HRESULT: 0x1 (FALSE). Error extracting -1 element(s). Result: 1
What could be causing this?
Thanks
sorry to be a pain, here is the original script from filebot that I was using:
filebot -script fn:amc --output "/home/gordon" -non-strict "/home/gordon/downloads/completed"
Where would I put the "action --copy" command in there?
Thanks in advance,
Badgerbailey
Edit: I found that adding -non-strict action --copy fixes this issue, however, i realised that some files are not getting copied, when I tried to do each file manually I get errors like the following: SevenZipException: HRESULT: 0x1 (FALSE). Error extracting -1 element(s). Result: 1
What could be causing this?
Thanks
Re: Leave original files
It's --action copy, and you can just add it at the end.
The error just means that the archive is corrupt, or password protected, or just can't be extracted for some reason. Nothing you can do about this.
The error just means that the archive is corrupt, or password protected, or just can't be extracted for some reason. Nothing you can do about this.