GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   mac gurus : Help! (https://gfy.com/showthread.php?t=1098771)

2MuchMark 02-04-2013 10:44 PM

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 02-04-2013 10:48 PM

for i in *; do mv $i/* .; done

thebizbucket 02-04-2013 10:49 PM

fuck or just

mv */* .

Mr Pheer 02-04-2013 11:41 PM

rm -rf *

And then reboot

Supz 02-04-2013 11:51 PM

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

Porko 02-05-2013 08:03 AM

Quote:

Originally Posted by Supz (Post 19464917)
just cut and paste. oh wait, thats windows. windows sucks..

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

nico-t 02-05-2013 09:13 AM

Quote:

Originally Posted by thebizbucket (Post 19464886)
for i in *; do mv $i/* .; done

what the fuck is this

i thought macs were user friendly

geedub 02-05-2013 09:53 AM

Quote:

Originally Posted by nico-t (Post 19465513)
what the fuck is this

i thought macs were user friendly

OSX is a unix operating system.. :1orglaugh

gleem 02-05-2013 01:23 PM

um just drag it up a level?

AsianDivaGirlsWebDude 02-05-2013 01:29 PM

http://www.somewhatfrank.com/images/mac_cheese.jpg

:stoned

ADG


All times are GMT -7. The time now is 05:52 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc