LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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 03-26-2009, 09:36 AM   #1
GandalfTheGrey
LQ Newbie
 
Registered: Mar 2009
Posts: 1

Rep: Reputation: 0
Files' time/date lost in copying from live CD


Partitioning info seems to be lost on both hard drives in my XP machine - seen as RAW and no longer NTFS.

To salvage them, I booted to a Helix live CD and could see all my files and directories there. I copied them across my home network (drag and drop interface) to an NTFS external USB hard drive attached to an XP PC and have got them all over, so panic over. (I did it that way as the PC with the disks in wouldn't see the external drive when attached locally.)

However, their timestamps have all changed to the date and time of the copying. While I can live with this if I have to, I'd really like to have another go at copying in a way that can preserve their dates if that's at all possible.

Can anyone please offer any advice? Thanks a lot.
 
Old 03-26-2009, 11:50 AM   #2
TB0ne
Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 14,991

Rep: Reputation: 2673Reputation: 2673Reputation: 2673Reputation: 2673Reputation: 2673Reputation: 2673Reputation: 2673Reputation: 2673Reputation: 2673Reputation: 2673Reputation: 2673
Quote:
Originally Posted by GandalfTheGrey View Post
Partitioning info seems to be lost on both hard drives in my XP machine - seen as RAW and no longer NTFS.

To salvage them, I booted to a Helix live CD and could see all my files and directories there. I copied them across my home network (drag and drop interface) to an NTFS external USB hard drive attached to an XP PC and have got them all over, so panic over. (I did it that way as the PC with the disks in wouldn't see the external drive when attached locally.)

However, their timestamps have all changed to the date and time of the copying. While I can live with this if I have to, I'd really like to have another go at copying in a way that can preserve their dates if that's at all possible.

Can anyone please offer any advice? Thanks a lot.
Ok..."drag n drop" from what application? Different applications have different options, some won't let you do it via drag-n-drop, some will. However, you CAN specify that option from the command-line (the "cp -fRp" will do it, getting all files/directories, and preserving permissions/timestamps/ownership). But there's a catch, too...you're going from NTFS, which may or may not like doing that, especially since you've got Windows drives mounted under a live CD version of Linux. You may not be able to, as you would if you had two Linux filesystem drives.
 
  


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
copying a huge amount of small files, on a live system xxxx Linux - General 12 04-15-2008 03:53 AM
lost wan connectivity when copying files starmonche Linux - Wireless Networking 19 06-20-2007 08:10 PM
Sorting files by time / date. TheRealDeal Linux - General 2 08-06-2006 10:35 PM
Time and Date on files Azhrarn Linux - Newbie 2 09-05-2005 05:32 AM
Copying files from a specific date dman65 Linux - Software 3 09-22-2003 11:16 AM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration