how do I move a sub-directory from one directory to another

Asked by ram

Hi,

I'm a basic learner and I've downloaded a rar file and it was in my "downloads directory" I unzipped it successfully via command mode and now I want to move the unzipped file to Another directory "Doocuments directory". how do I do it..?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu gnome-terminal Edit question
Assignee:
No assignee Edit question
Solved by:
Ian Ace
Solved:
Last query:
Last reply:
Revision history for this message
Best Ian Ace (iaculallad) said :
#1

From you Terminal:

mv ~/downloads\ directory ~/Documents

I assumed that the "downloads directory" is in your home (~) folder.

HTH.

Revision history for this message
Rajinder Sandhu (sandy744) said :
#2

do cut and paste the zip file instead...the way you do in windows
by right clicking on the file select cut then go to destination folder for you it is Documents and then right click and select paste thats all.

Revision history for this message
Sam_ (and-sam) said :
#3
Revision history for this message
ram (ram-naidu-08) said :
#4

Hi,

Thanks for your answer.... and for a quick response which I never expected... Actually when I type "$ pwd" it gives me an path which is like.. "/home/ram"---> and when I type "$ ls" it shows list of Directories named Documents, Downloads, Music, Public.. etc..

So.. there is a tar file in Documents directory which I wanted to move to Downloads Directory... n don I don want to move it to Downloads Directory specifically.. it can be copied to any other directiro which is listed over there...

and want to mention some thing else... when I type "$ ls ~/.." it shows me my name "ram" which means my home directory I guess

Thanks,
Ram.