OSX Filesystem WTF

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • res0nat0r
    Someone MARRY ME!! LOL
    • May 2006
    • 14475

    OSX Filesystem WTF

    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
  • Jenks
    I'm kind of a big deal.
    • Jun 2004
    • 10250

    #2
    Re: OSX Filesystem WTF

    The font your using WTF?

    Comment

    • res0nat0r
      Someone MARRY ME!! LOL
      • May 2006
      • 14475

      #3
      Re: OSX Filesystem WTF

      Courier New for FiXeD WiDtH

      Comment

      • demonAfro
        Are you Kidding me??
        • Jun 2004
        • 3488

        #4
        Re: OSX Filesystem WTF

        Code:
        Once upon a time someone invented nice code blocks for pasting stuff
        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 mv it back?

        Comment

        • res0nat0r
          Someone MARRY ME!! LOL
          • May 2006
          • 14475

          #5
          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.

          Comment

          • Caley Martin
            MCast Resident DJ
            • Oct 2004
            • 2636

            #6
            Re: OSX Filesystem WTF

            Automator is your best friend.
            For your aural infusion of Caley:
            http://mcast.mercuryserver.com
            http://soundcloud.com/caleymartin
            http://ultrawizardsword.net
            RA: Caley

            Comment

            • res0nat0r
              Someone MARRY ME!! LOL
              • May 2006
              • 14475

              #7
              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.

              Comment

              • Caley Martin
                MCast Resident DJ
                • Oct 2004
                • 2636

                #8
                Re: OSX Filesystem WTF

                I rename all my beatport purchases with it... gets rid of that stupid -(original mix).mp3 everytime!
                For your aural infusion of Caley:
                http://mcast.mercuryserver.com
                http://soundcloud.com/caleymartin
                http://ultrawizardsword.net
                RA: Caley

                Comment

                • res0nat0r
                  Someone MARRY ME!! LOL
                  • May 2006
                  • 14475

                  #9
                  Re: OSX Filesystem WTF

                  Yeah I hate that crap. And spaces also.

                  Comment

                  • res0nat0r
                    Someone MARRY ME!! LOL
                    • May 2006
                    • 14475

                    #10
                    Re: OSX Filesystem WTF

                    Code:
                    alias fixmp3='rename '\''s/ /_/g;s/_-_/-/g;y/A-Z/a-z/'\'''

                    Comment

                    • Jenks
                      I'm kind of a big deal.
                      • Jun 2004
                      • 10250

                      #11
                      Re: OSX Filesystem WTF

                      Originally posted by Caley Martin
                      I rename all my beatport purchases with it... gets rid of that stupid -(original mix).mp3 everytime!
                      Hey wait a second, this sounds useful. What are we talking about here?

                      Comment

                      • res0nat0r
                        Someone MARRY ME!! LOL
                        • May 2006
                        • 14475

                        #12
                        Re: OSX Filesystem WTF

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

                        Dan The Automator son.

                        Comment

                        • Jenks
                          I'm kind of a big deal.
                          • Jun 2004
                          • 10250

                          #13
                          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?

                          Comment

                          • res0nat0r
                            Someone MARRY ME!! LOL
                            • May 2006
                            • 14475

                            #14
                            Re: OSX Filesystem WTF

                            Originally posted by Jenks
                            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?
                            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.

                            Comment

                            • demonAfro
                              Are you Kidding me??
                              • Jun 2004
                              • 3488

                              #15
                              Re: OSX Filesystem WTF

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

                              Comment

                              Working...