mac gurus : Help!

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • 2MuchMark
    Mark of 2Much.net
    • Aug 2004
    • 50977

    #1

    mac gurus : Help!

    mac gurus : Help!

    I have hundreds of files with unique file names in hundreds of directories, and I want to move all of the files to the parent directory. (also known as flattening)

    There is a simple way to do this via the command line in Mac OS/X but I can't remember how its done.

    Any help is appreciated!
  • thebizbucket
    Confirmed User
    • Jul 2004
    • 191

    #2
    for i in *; do mv $i/* .; done
    Once used rectally, the thermometer should not be used orally, for sanitary reasons.

    Comment

    • thebizbucket
      Confirmed User
      • Jul 2004
      • 191

      #3
      fuck or just

      mv */* .
      Once used rectally, the thermometer should not be used orally, for sanitary reasons.

      Comment

      • Mr Pheer
        So Fucking Banned
        • Dec 2002
        • 22083

        #4
        rm -rf *

        And then reboot

        Comment

        • Supz
          Arthur Flegenheimer
          • Jul 2006
          • 11057

          #5
          just cut and paste. oh wait, thats windows. windows sucks..

          Comment

          • Porko
            SeeMyBucks.com
            • Sep 2002
            • 4014

            #6
            Originally posted by Supz
            just cut and paste. oh wait, thats windows. windows sucks..

            I love mac but I hate the finder to be honest (and I miss windows explorer).

            Comment

            • nico-t
              emperor of my world
              • Aug 2004
              • 29903

              #7
              Originally posted by thebizbucket
              for i in *; do mv $i/* .; done
              what the fuck is this

              i thought macs were user friendly

              Comment

              • geedub
                Confirmed User
                • Jun 2005
                • 3489

                #8
                Originally posted by nico-t
                what the fuck is this

                i thought macs were user friendly
                OSX is a unix operating system..
                Reliable web host that actually cares, tell em geedub sent ya. Vacares

                Comment

                • gleem
                  Confirmed User
                  • Jun 2001
                  • 5593

                  #9
                  um just drag it up a level?




                  Contact me: \\// E: webmaster /at/ unprofessional.com

                  Comment

                  • AsianDivaGirlsWebDude
                    Purveyor, Fine Asian Porn
                    • Jul 2004
                    • 38323

                    #10




                    ADG
                    Asian Diva Girls - Exclusive Photos and Videos



                    Asian Diva Girls Affiliate Program (50% ccBill Revshare)

                    Comment

                    Working...