Closed josephw closed 9 years ago
Comment #1 originally posted by josephw on 2013-07-19T13:39:51.000Z:
Have you examined the paths in the original file to confirm how the path is encoded? The space may well be percent-encoded as 'file://localhost/Volumes/HDD/My%20Music'.
This could be clearer if there were a summary of paths at the end, to highlight the most frequent prefix.
Comment #2 originally posted by josephw on 2013-07-21T10:45:36.000Z:
Yes, spaces in the XML file are encoded as you described, e.g.
Comment #3 originally posted by josephw on 2013-07-21T10:59:25.000Z:
OK, I found the problem. I changed the command as follows and now it works:
java -Xmx512m -XX:MaxPermSize=256m -jar titl-core-0.3-SNAPSHOT.jar MoveMusic --use-urls ~/Music/iTunes/iTunes\ Library.itl "file://localhost/Volumes/HDD/My%20Music" "file://localhost/Volumes/HDD/Music"
Thank you a lot!
Original issue 24 created by josephw on 2013-06-22T14:25:40.000Z:
What steps will reproduce the problem?
What is the expected output? What do you see instead?
Expected output: "file://localhost/Volumes/HDD/Music" Real output: "file://localhost/Volumes/HDD/My\ music" (old location/nothing changed)
What version of the product are you using? On what operating system?
titl-core-0.3-SNAPSHOT.jar, OS X
Please provide any additional information below.
When the old location doesn't contain spaces everything works like a charm. I have moved my files successfully from:
"file://localhost/Volumes/OLDHDD/Music" (where subfolder still contain spaces) to "file://localhost/Volumes/NEWHDD/Music"
But with spaces it doesn't work. I used the following command:
java -Xmx512m -XX:MaxPermSize=256m -jar titl-core-0.3-SNAPSHOT.jar MoveMusic --use-urls ~/Music/iTunes/iTunes\ Library.itl "file://localhost/Volumes/HDD/My\ Music" "file://localhost/Volumes/HDD/Music"