Trying to Move Files (did I do it right?)

Joined
Sep 26, 2009
Messages
6
Reaction score
0
Points
1
command entered: mv MAIN DRIVE 3 ~/musicpics/MAIN DRIVE 3
result: usage: mv [-f | -i | -n] [-v] source target
mv [-f | -i | -n] [-v] source ... directory

Moving Main Drive 3 to musicpics

I don't "hear" anything happening. Is it moved? In musicpics, would I find it under Main Drive 3 still? Thanks.
 

Raz0rEdge

Well-known member
Staff member
Moderator
Joined
Jul 17, 2009
Messages
15,771
Reaction score
2,111
Points
113
Location
MA
Your Mac's Specs
2022 Mac Studio M1 Max, 2023 M2 MBA
Unix doesn't like spaces..so you can move it within Finder which will handle this nicely, but if you want to stick with the command line, you'll have to use
Code:
mv MAIN\ DRIVE\ 3 ~/musicpics
You are "escaping" the spaces, to get the real directory name. In your original command, "mv" thinks you gave it 6 directories to move around..:)

Regards
 
OP
L
Joined
Sep 26, 2009
Messages
6
Reaction score
0
Points
1
I'm trying to move hidden files on my HD into my external drive. Still, nothing seems to be happening.
 

vansmith

Senior Member
Joined
Oct 19, 2008
Messages
19,924
Reaction score
559
Points
113
Location
Queensland
Your Mac's Specs
Mini (2014, 2018, 2020), MBA (2020), iPad Pro (2018), iPhone 13 Pro Max, Watch (S6)
Are you getting any feedback at the command line? If not, that is usually a sign that things went well. If it didn't, you should get some sort of message. Are you escaping the spaces as Raz0rEdge as noted above?
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top