HorizonForumsone horizon
Log inSign up

[ms] · Est. May 2002

Music madethis place,we just kept itgoing...

One durable person. One social graph. Many communities—and every way people speak, share, listen, write, gather and remember.

Forums / Computers / Electronics / Games

OSX Filesystem WTF

16 durable postsStarted 2011-10-11Latest 2011-10-15
#108551Post 1 of 16

[FONT=courier new] i'm trying to rename an mp3 to lowercase, but it says the filealready exists, but it doesnt show up in ls. It has extended attrs related to that quarantine stuff. Does anyone know wtf is up or how to clear this? xattr -d file.mp3 doesnt seem to do it.

Do I have two hardlinks to the same file here? Why is the lowercase version not showing up to normal ls?

$ ls -l | grep -i mario -rw-r--r--@ 1 jigga ANT\domain users 84M Aug 11 13:38 MARIOBASANOVMIXMAG.mp3

$ rename 'y/A-Z/a-z/' MARIOBASANOVMIXMAG.mp3 'MARIOBASANOVMIXMAG.mp3' not renamed: 'mariobasanovmixmag.mp3' already exists

$ ls -l | grep mamariobasanovmixmag

$ ls -l mariobasanovmixmag.mp3 -rw-r--r--@ 1 jigga ANT\domain users 84M Aug 11 13:38 mariobasanovmixmag.mp3

$ ls -l@ MARIOBASANOVMIXMAG.mp3 -rw-r--r--@ 1 jigga ANT\domain users 84M Aug 11 13:38 MARIOBASANOVMIXMAG.mp3 com.apple.quarantine 42B[/FONT]

#1552982Post 2 of 16

Re: OSX Filesystem WTF

[FONT=impact]The font your using WTF?[/FONT]

#1552985Post 3 of 16

Re: OSX Filesystem WTF

Courier New for[FONT=courier new] FiXeD WiDtH[/FONT]

#1553003Post 4 of 16

Re: OSX Filesystem WTF

[CODE]Once upon a time someone invented nice code blocks for pasting stuff[/CODE]

Dunno whether HFS+ is case insensitive, but have had NTFS do funny stuff when files have the same name with different case, some case-insensitive applications can only see the first one they come across, and others see both. Maybe this is just some magic to make stuff like that work? But whatever, just copy the file elsewhere, delete all traces of the original them [url="http://www.mercuryserver.com/forums/djdb.php?id=322"]mv[/url] it back?

#1553039Post 5 of 16

Re: OSX Filesystem WTF

I like the code block but it makes the output box window too small to see which is annoying. I think it might be something with the rename script I'm using and it doesnt like files with the hfs metadata.

#1553324Post 6 of 16

Re: OSX Filesystem WTF

Automator is your best friend.

#1553327Post 7 of 16

Re: OSX Filesystem WTF

I tried to use that once and couldn't get it to work. I wanted it to drag and drop a bunch of files to evernote and rename their titles for me but it half worked. Do you have any cool examples of what to use it for? Also renaming files I just use a cli script that usually gets bundled with perl so i can just rename based on a regex.

#1557005Post 8 of 16

Re: OSX Filesystem WTF

I rename all my beatport purchases with it... gets rid of that stupid -(original mix).mp3 everytime!

#1557008Post 9 of 16

Re: OSX Filesystem WTF

Yeah I hate that crap. And spaces also.

#1557009Post 10 of 16

Re: OSX Filesystem WTF

[code] alias fixmp3='rename '''s/ //g;s/-_/-/g;y/A-Z/a-z/'''' [/code]

#1557016Post 11 of 16

Re: OSX Filesystem WTF

[QUOTE=Caley Martin;995972]I rename all my beatport purchases with it... gets rid of that stupid -(original mix).mp3 everytime![/QUOTE]

Hey wait a second, this sounds useful. What are we talking about here?

#1557027Post 12 of 16

Re: OSX Filesystem WTF

[QUOTE=Jenks;995985]Hey wait a second, this sounds useful. What are we talking about here?[/QUOTE]

Dan The Automator son.

[url]http://en.wikipedia.org/wiki/Automator_%28software%29[/url]

#1557031Post 13 of 16

Re: OSX Filesystem WTF

So bare with me for a second here- are you telling me that by using the Automator, I can rename an entire track collection to a certain format with a few key strokes? i've been ripping vinyl, collecting tracks for over a decade and my shit is all over the place as far as artist/trackname/remix/label goes. is fixing this that easy, or am i trying to fuck a football here?

#1557034Post 14 of 16

Re: OSX Filesystem WTF

[QUOTE=Jenks;996010]So bare with me for a second here- are you telling me that by using the Automator, I can rename an entire track collection to a certain format with a few key strokes? i've been ripping vinyl, collecting tracks for over a decade and my shit is all over the place as far as artist/trackname/remix/label goes. is fixing this that easy, or am i trying to fuck a football here?[/QUOTE]

So I think so. I'd ask Caley. I know of a few commandline programs that can rename your files based on their id3 tags. I really don't know how to use Automator much since I'm a Mac n00b, but I know it can be done as it is designed for stuff like that. Maybe describe how you want to rename them more and we can see if Automator can do that.

#1557185Post 15 of 16

Re: OSX Filesystem WTF

Meh, just run [url]http://www.foobar2000.org/[/url] in wine for all your mp3 organisational needs.

#1557192Post 16 of 16

Re: OSX Filesystem WTF

I like this one the best: [url]http://www.xdlab.ru/en/[/url]

You can do mass renames easily.

Log in to reply