LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   how to copy files (https://www.linuxquestions.org/questions/linux-software-2/how-to-copy-files-4175510348/)

ganesan_p 07-07-2014 04:53 AM

how to copy files
 
hi,

i have four partition in my primary cf card and secondary cf have some file . i how to copy data from secondary cf to paste on primary cf . i don't know how to do it. please give the solution .

thankks and regards,
ganesan

jdkaye 07-07-2014 05:03 AM

Are these cf cards mounted? If yes then just copy your files to wherever they're mounted to (picking out any subfolder of the mounted cf card if that's where you want them). If that doesn't help then try being a bit more specific about how your system is set up including any mounted drives.
jdk

ganesan_p 07-07-2014 05:13 AM

Hi jdk,
thanks for your reply,

actually in my primary cf i am flashing os . some time some files corrupted due to power failure. i have to check from secondary cf which file is corrupted and replace the file.

advance thanks,
ganesan

jdkaye 07-07-2014 08:31 AM

And can you do that? replace the corrupted files? In your file system where are the corrupted files and where are the replacements?
jdk

ganesan_p 07-07-2014 11:06 PM

Hi jdk,
thanks for your reply,


in my primary cf having 4 partitions . how to delete corrupted files in the particular partitions. i am using qnx os .please give the solution.

thanks and regards,
ganesan

jdkaye 07-08-2014 05:00 AM

Does qnx have anything to do with linux? It seems to be a commercial product. When you paid for it didn't that include technical help that you can consult? I guess you're talking about this QNX OS. Correct?
jdk

ganesan_p 07-08-2014 05:13 AM

Hi jdk,
thanks for your reply,

yes i am having qnx os .

regards,
ganesan

TB0ne 07-08-2014 08:26 AM

Quote:

Originally Posted by ganesan_p (Post 5200410)
Hi jdk,
yes i am having qnx os .

So we're back to "It's a commercial product, you should call them for support". Did you try that?
Quote:

Originally Posted by ganesan_p
in my primary cf having 4 partitions . how to delete corrupted files in the particular partitions. i am using qnx os .please give the solution.

You use the standard rm command to delete a file, just like you would with any version of Linux. The better question is how do you know which file(s) are corrupted, and where you have these two cards mounted. If you mounted the two cards on a Linux system as (for example), /media/card1/partition1 and /media/card2/partition1, you could just use the cp command to copy all the files from one to the other. Repeat with other partitions as you mount them.


All times are GMT -5. The time now is 08:15 PM.