LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-20-2013, 04:14 AM   #1
textillis
Member
 
Registered: May 2013
Location: Northern Rivers, NSW, Australia
Distribution: Slackware64-current, Mint Nadya
Posts: 299

Rep: Reputation: 2
moving files & directories


I've tried to the man file and can't make head nor tail of it.

Could someone please take a look at this and tell me why i can't move the contents of a directory into its parent?

Like i tried to here:

Code:
bash-4.2# pwd
/home/tex/slackware/packages/source
bash-4.2# dir
Xfburn			   libdvd		    libisofs
Xfce-Theme-Manager	   libisoburn		    libisofs-1.2.4.tar.gz
Xfce-Theme-Manager.tar.gz  libisoburn-1.2.4.tar.gz  xfburn-0.4.3.tar.bz2
bash-4.2# cd Xfburn 
bash-4.2# dir
xfburn	xfburn.tar.gz  xfburn.tar.gz.asc
bash-4.2# mv Xfce-Theme-Manager/* source
mv: cannot stat 'Xfce-Theme-Manager/*': No such file or directory
bash-4.2#
Thanks,
Tex
 
Old 05-20-2013, 04:28 AM   #2
fortran
Member
 
Registered: Nov 2011
Location: Cairo, Egypt
Distribution: CentOS, RHEL, Fedora
Posts: 300
Blog Entries: 2

Rep: Reputation: 51
You are in the directory Xfburn. There is no directory name Xfce-Theme-Manager inside Xfburn. Xfce-Theme-Manager is a directory parallel to Xfburn

If you have executed this command
Code:
bash-4.2# cd Xfburn
Now later why don't you try this.
Code:
bash-4.2# mv ../Xfce-Theme-Manager/* destination/directory
 
1 members found this post helpful.
Old 05-20-2013, 05:12 AM   #3
textillis
Member
 
Registered: May 2013
Location: Northern Rivers, NSW, Australia
Distribution: Slackware64-current, Mint Nadya
Posts: 299

Original Poster
Rep: Reputation: 2
Quote:
Originally Posted by pavi_kanetkar View Post
You are in the directory Xfburn. There is no directory name Xfce-Theme-Manager inside Xfburn. Xfce-Theme-Manager is a directory parallel to Xfburn

If you have executed this command
Code:
bash-4.2# cd Xfburn
Now later why don't you try this.
Code:
bash-4.2# mv ../Xfce-Theme-Manager/* destination/directory
Thanks kindly Pavi; that works
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
moving files to different directories congos Linux - Newbie 1 12-11-2011 02:20 AM
protect my files & directories to delete ? rabir Linux - Security 14 12-06-2011 08:30 AM
[SOLVED] Moving files and directories except few moyorakkhi Linux - Newbie 2 10-25-2011 07:49 AM
C and reading files & directories problem climbingmerlin Programming 4 10-12-2005 03:25 PM
Need help with directories & files GoboFraggle Programming 4 04-09-2003 07:04 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:24 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration