|
|
Use divider files to organize albums in XMMS
One slight technicality... if you use a filename consisting of only spaces, if you quit and reopen XMMS, it will get a little confused because it tries to find "/somepathhere/ " where " " is the filename. Another solution is to append a "_" to the end of the spacer, which is displayed as a space in XMMS's playlist.
Use divider files to organize albums in XMMS
If you want to replace a space or multiple spaces like in this case with underscores, you can run this shell script (maybe call it something like "rename"):
Also...
I forgot to mention with the last script, that if other files in the same directory that do not have spaces in them will be ignored and untouched, however the script will return an error with the "mv" command. So that this is ignored, you could modify the script to send stnderr to /dev/null, that way no matter what, your script will run smoothly. Like such:
Fixed
Why can't we edit our post after we've submitted? So here it is again posted twice and formatted correctly, but this time I'm not so much of an idiot.
I forgot to mention with the last script, that if other files in the same directory that do not have spaces in them will be ignored and untouched, however the script will return an error with the "mv" command. So that this is ignored, you could modify the script to send stnderr to /dev/null, that way no matter what, your script will run smoothly. Like such:
or
|
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.16 seconds |
|