My favorites | Sign in
Project Home Downloads Wiki Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 18: Dont'move, rename only
1 person starred this issue and may be notified of changes. Back to list
Status:  Fixed
Owner:  ----
Closed:  Nov 2011


 
Project Member Reported by login...@gmail.com, Nov 8, 2011
I really would an option to rename files locally, i do not want make a copy of them.
Nov 8, 2011
Project Member #1 addicted...@gmail.com
I'll need more information on this
This already is supposed to be the default comportment in destructive mode (which can be activated in the settings file)
In this mode compressed files are expanded to the destination folder but other files are directly moved to the destination folder.
Please let me know if this is not what happens with your setup or if this is not what you meant by renaming files locally.
Thanks for your interest in torrentexpander
Labels: -Type-Defect Type-Enhancement
Nov 9, 2011
Project Member #2 login...@gmail.com
Ok, i try to exaplain better.
I do not want to use a 'destination folder'. I want to let renemed files (and expanded files) in their own directory. 
Nov 12, 2011
Project Member #3 addicted...@gmail.com
It should be pretty straightforward now that the whole script runs in a temp folder.
I'll need to make sure nothing can be wrong when switching to this optional mode and then I'll edit the check routine to allow that.
Labels: -Priority-Medium Priority-High
Nov 13, 2011
Project Member #4 addicted...@gmail.com
I think I checked everything
Everything seems to work fine
You just need to define your destination folder to be the same as where your torrents are located and turn destructive_mode to yes
This functionality is already included in the script you currently have

Please let me know if it world  for you
Nov 13, 2011
Project Member #5 login...@gmail.com
Yes, it works. Good.
I have only a question.
Consider two files:
One.Day.2011.iTALiAN.MD.BDRip.XviD-TNZ.avi
One.Day.2011.iTALiAN.MD.R5.XviD-TNZ.avi
When the script acts on these, they will have the same output name.
What script does to avoid name conflict?
Nov 22, 2011
Project Member #6 addicted...@gmail.com
The comportment I intended for torrentexpander was to be cp -f and mv -f
This means the original file is replaced without asking any confirmation
This script is supposed to be run without user interaction, so I think that's the best way.

This issue report pointed me in the direction of a bunch of cp and mv that weren't followed by -f. I think I solved it in SVN r84 and I hope I didn't forget any.

Thanks
Nov 26, 2011
Project Member #7 addicted...@gmail.com
Added collision handling in destination_folder. First item will be named "item", second one will be named "item [2]", and so on
This works for single file torrents and also multi files torrents
Give the last SVN a try and let me know how that works for you


Nov 27, 2011
Project Member #8 addicted...@gmail.com
(No comment was entered for this change.)
Status: Fixed

Powered by Google Project Hosting