Filebot renaming shows but won't sort into folders (on RPi)
Posted: 15 Jan 2016, 12:00
Hi,
I installed Filebot on my Raspberry Pi 2 using this guide
http://www.handmadepixels.co.uk/blog/ra ... pberry-pi/
I wanted the script to scan video files in the torrents folder (including sub-folders, as most torrents have the video files stored in sub-folders), then copy them into the "tv" folder. In the "tv" folder I then wanted them to be arranged into folders by TV show name, then season.
My current script scans the "torrents" folder correctly and renames the files correctly, but it isn't moving the files into the new folder structure. The files all remain in their original folder under "torrents" and aren't moved to the "tv" folder at all. No folders are created in the "tv" folder either.
I need to sort tv shows into folders by TV show name so that they can be recognised in XMBC/Kodi.
Can anyone spot anything I'm doing wrong in my script?
Any help would be much appreciated.
I installed Filebot on my Raspberry Pi 2 using this guide
http://www.handmadepixels.co.uk/blog/ra ... pberry-pi/
I wanted the script to scan video files in the torrents folder (including sub-folders, as most torrents have the video files stored in sub-folders), then copy them into the "tv" folder. In the "tv" folder I then wanted them to be arranged into folders by TV show name, then season.
My current script scans the "torrents" folder correctly and renames the files correctly, but it isn't moving the files into the new folder structure. The files all remain in their original folder under "torrents" and aren't moved to the "tv" folder at all. No folders are created in the "tv" folder either.
I need to sort tv shows into folders by TV show name so that they can be recognised in XMBC/Kodi.
Can anyone spot anything I'm doing wrong in my script?
Any help would be much appreciated.
Code: Select all
#!/bin/bash
DATE_STAMP=` date +%d-%m-%Y-%T`
echo ${DATE_STAMP}
/opt/share/filebot/bin/filebot.sh -rename /media/PIUSBDRIVE/shares/PiMediaServer/torrents/* –format “/media/PIUSBDRIVE/shares/PiMediaServer/tv/{n}/Season {s}/{n} – {sxe}” –db thetvdb -non-strict