Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 02-04-2013, 10:44 PM   #1
2MuchMark
Videochat Solutions
 
2MuchMark's Avatar
 
Industry Role:
Join Date: Aug 2004
Location: Canada
Posts: 48,553
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!
__________________

VideoChat Solutions | Custom Software | IT Support
https://www.2much.net | https://www.lcntech.com
2MuchMark is online now   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-04-2013, 10:48 PM   #2
thebizbucket
Confirmed User
 
Join Date: Jul 2004
Posts: 189
for i in *; do mv $i/* .; done
__________________
Once used rectally, the thermometer should not be used orally, for sanitary reasons.
thebizbucket is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-04-2013, 10:49 PM   #3
thebizbucket
Confirmed User
 
Join Date: Jul 2004
Posts: 189
fuck or just

mv */* .
__________________
Once used rectally, the thermometer should not be used orally, for sanitary reasons.
thebizbucket is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-04-2013, 11:41 PM   #4
Mr Pheer
Living inside your head.
 
Mr Pheer's Avatar
 
Industry Role:
Join Date: Dec 2002
Location: In your AirBNB
Posts: 20,492
rm -rf *

And then reboot
Mr Pheer is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-04-2013, 11:51 PM   #5
Supz
Arthur Flegenheimer
 
Supz's Avatar
 
Industry Role:
Join Date: Jul 2006
Location: New York City
Posts: 11,056
just cut and paste. oh wait, thats windows. windows sucks..
Supz is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-05-2013, 08:03 AM   #6
Porko
SeeMyBucks.com
 
Porko's Avatar
 
Industry Role:
Join Date: Sep 2002
Location: USA
Posts: 4,014
Quote:
Originally Posted by Supz View Post
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).
__________________
Porko is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-05-2013, 09:13 AM   #7
nico-t
emperor of my world
 
Join Date: Aug 2004
Location: nethalands
Posts: 29,903
Quote:
Originally Posted by thebizbucket View Post
for i in *; do mv $i/* .; done
what the fuck is this

i thought macs were user friendly
nico-t is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-05-2013, 09:53 AM   #8
geedub
Confirmed User
 
Industry Role:
Join Date: Jun 2005
Location: concrete jungle
Posts: 3,488
Quote:
Originally Posted by nico-t View Post
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
geedub is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-05-2013, 01:23 PM   #9
gleem
Confirmed User
 
gleem's Avatar
 
Industry Role:
Join Date: Jun 2001
Location: Sunny Land
Posts: 5,593
um just drag it up a level?
__________________




Contact me: \\// E: webmaster /at/ unprofessional.com
gleem is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-05-2013, 01:29 PM   #10
AsianDivaGirlsWebDude
Purveyor, Fine Asian Porn
 
AsianDivaGirlsWebDude's Avatar
 
Industry Role:
Join Date: Jul 2004
Location: San Francisco Bay Area
Posts: 38,323




ADG
AsianDivaGirlsWebDude is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.