2010-10-17, 09:49
A new version of SortTV is now available.
New features:
Thanks to schmoko for the patch that I incorporated into these features.
I have noticed that a lot of people are not downloading the sample config file. I highly recommend you download the sample and edit it. It is a much simpler way of configuring the script, rather than having to supply the options via the command line arguments.
You can get the new version (and a sample config file) from:
https://sourceforge.net/projects/sorttv/files/
If you find this script helpful then please consider making a $5 paypal donation
http://sourceforge.net/donate/index.php?group_id=330009
Check out the new version!
--
These features have been tested on Linux, but should also work with newer versions of Windows (since Vista Windows has supported symbolic links).
New features:
- --sort-by:MOVE-AND-LEAVE-SYMLINK-BEHIND
This option moves the file or directory, then leaves behind a symlink to the newly moved file. This may be handy if you want to continue to seed after sorting.
- --sort-byLACE-SYMLINK
This does not move the original file, but places a symlink in the sort-to directory. This is probably not what you want, unless you want to keep all your episodes in an unsorted directory and have sorted links to those files. This could be handy if you don't want to change the way your files are organised, but want to have a file organisation compatible with programs such as xbmc.
- --remove-symlinks:[TRUE|FALSE]
Deletes symlinks from the directory to sort while sorting. This may be helpful if you want to remove all the symlinks you previously left behind using --sort-by:MOVE-AND-LEAVE-SYMLINK-BEHIND
You could schedule "perl sorttv.pl --remove-symlinks:TRUE" to remove these once a week/month.
If this option is enabled and used at the same time as --sort-by:MOVE-AND-LEAVE-SYMLINK-BEHIND, then only the previous links will be removed, and new ones may also be created
Thanks to schmoko for the patch that I incorporated into these features.
I have noticed that a lot of people are not downloading the sample config file. I highly recommend you download the sample and edit it. It is a much simpler way of configuring the script, rather than having to supply the options via the command line arguments.
You can get the new version (and a sample config file) from:
https://sourceforge.net/projects/sorttv/files/
If you find this script helpful then please consider making a $5 paypal donation
http://sourceforge.net/donate/index.php?group_id=330009
newphreak Wrote:i would like to see an option to symlink instead of move/copy, so i wont have to ln -f -s /source/bla/bla /target/bla. can you do that?
edit: all parts under COPY to do symlinks instead, but for a feature release i'd love to see move/copy/symlink option. and maybe something that deletes old dead symlinks hehe.
Check out the new version!
--
These features have been tested on Linux, but should also work with newer versions of Windows (since Vista Windows has supported symbolic links).