Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

chrislee8

macrumors regular
Original poster
Jul 26, 2004
102
0
NY, NY
1. how do I move all files because mv has only -f/i option?

2. how do I move directory from one place to another ?

3. how do I move everything from one place to another?

seems like mv can only do moving files, not folders.

thanks in advanced.
 
If I have folder X, and I want to rename it to folder Y, I just type:
Code:
mv X Y

If I have folder X and I want to move it into folder Y, I type:
Code:
mv X Y/X

Does that help?

Or, to be more clear: type

Code:
mv full_path_of_folder new_full_path_of_folder

Remember, if you just type 'mv X Y', you'll rename X into Y, not put X inside of Y.

By the way, this moves folder contents as well.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.