LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 11-25-2013, 06:48 AM   #1
Raakh5
Member
 
Registered: Mar 2012
Posts: 169

Rep: Reputation: Disabled
Copying data from one hard drive to another in linux


Hello,

OS: Centos 6x

We have two hard drives i.e. 25gb and 250gb
# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/xvda2 25G 17G 6.2G 74% /
tmpfs 2.0G 610M 1.5G 30% /dev/shm
/dev/xvda1 248M 55M 182M 24% /boot
/dev/xvdc1 247G 188M 234G 1% /xvdc1

There is a directory on 25gb /root/OldServerBackup. I want to move it to 250gb hard drive.

Please advise

Thanks in anticipation
 
Old 11-25-2013, 07:01 AM   #2
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389
Maybe I'm missing something but wouldn't the mv command do just that?
Code:
mv /root/OldServerBackup /xvdc1/some_dir
 
Old 11-25-2013, 07:19 AM   #3
Raakh5
Member
 
Registered: Mar 2012
Posts: 169

Original Poster
Rep: Reputation: Disabled
Thanks from the bottom of my heart
 
Old 11-25-2013, 07:25 AM   #4
Raakh5
Member
 
Registered: Mar 2012
Posts: 169

Original Poster
Rep: Reputation: Disabled
thanks from the bottom of my heart
 
  


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
[SOLVED] transfer data from a SATA external hard drive to a IDE internal hard drive Cabtech Linux - Newbie 7 04-22-2012 02:55 PM
Bash or Perl example: copying data from a CD/DVD, to hard drive. bluesword1969 Programming 7 05-04-2010 02:55 PM
Error while copying data to other Hard disk fa_khan50 Linux - Newbie 6 03-24-2008 06:46 AM
Copying files from internal Hard drive to USB 2.0 Hard Drive is NOT Behaving tubatodd Ubuntu 4 02-19-2007 04:32 PM
Needing help copying large hard drive to smaller drive sdubble Linux - Software 1 02-21-2006 12:06 PM

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

All times are GMT -5. The time now is 07:14 PM.

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