Active Topics

 


Reply
Thread Tools
Posts: 203 | Thanked: 134 times | Joined on Aug 2011
#111
@Arie

Thank you! So this should automatically back up my orig files then and I could copy via USB to a safe folder, correct? Sorry for such a stupid question. I just want to make sure I don't falter
 

The Following User Says Thank You to BlinkThinks For This Useful Post:
Posts: 1,539 | Thanked: 1,604 times | Joined on Oct 2011 @ With my N9
#112
Originally Posted by BlinkThinks View Post
@Arie

Thank you! So this should automatically back up my orig files then and I could copy via USB to a safe folder, correct? Sorry for such a stupid question. I just want to make sure I don't falter
Before you transfer the file to your mass storage, try and make a copy of it, if it successfully went through, you will see a /usr folder in your MyDocs.
__________________
Arie|www.everythingn9.com|Nokia N9 64GB x2|Nokia N950

@everythingn9

Temporary Inception Fix


Times Banned from TMO: 4
 

The Following User Says Thank You to Arie For This Useful Post:
Posts: 203 | Thanked: 134 times | Joined on Aug 2011
#113
Arie, ok.. got it. Will do it now. Much appreciated
 
Posts: 203 | Thanked: 134 times | Joined on Aug 2011
#114
Ok I just did this:

cp /usr /home/user/MyDocs
and I got a reply:
"omitting directory '/usr'

Is that it?
 
Posts: 1,539 | Thanked: 1,604 times | Joined on Oct 2011 @ With my N9
#115
Originally Posted by BlinkThinks View Post
Ok I just did this:

cp /usr /home/user/MyDocs
and I got a reply:
"omitting directory '/usr'

Is that it?
No, I've never actually copied it, so I am taking shots in the dark here, lol....

try cp -R /usr /home/user/MyDocs, see if that works
__________________
Arie|www.everythingn9.com|Nokia N9 64GB x2|Nokia N950

@everythingn9

Temporary Inception Fix


Times Banned from TMO: 4
 
Posts: 1,539 | Thanked: 1,604 times | Joined on Oct 2011 @ With my N9
#116
Originally Posted by F2thaK View Post
doesnt the -R remove the copied folder???

what about cp /usr/ /home/user/MyDocs/
it does? I assume there is nothing to remove, and no -R doesn't remove the copied folder.
__________________
Arie|www.everythingn9.com|Nokia N9 64GB x2|Nokia N950

@everythingn9

Temporary Inception Fix


Times Banned from TMO: 4
 
Posts: 203 | Thanked: 134 times | Joined on Aug 2011
#117
No usr directory was copied in the root with the first command.

Doing the second command, cp -R /usr /home/user/MyDocs

gave this:

'can't stat ' - ' : So such fiile or directory'
'cant stat ' R " : no such file or directory'

Oh well, I'll just go ahead and copy F2thaK's files instead...
 
F2thaK's Avatar
Posts: 4,365 | Thanked: 2,467 times | Joined on Jan 2010 @ Australia Mate
#118
I just thought that was what the R did...


cp - copies on or more files. Recursive copying is one simple way of archiving part of a directory structure. Use the command as follows:

cp -r /sourcedirectory /targetdirectory
taken from
http://www.er.uqam.ca/nobel/r10735/unixcomm.html
 

The Following User Says Thank You to F2thaK For This Useful Post:
Posts: 203 | Thanked: 134 times | Joined on Aug 2011
#119
F2thaK

cp /usr/ /home/user/MyDocs/

showed cp [OPTIONS] SOURCE DEST
 
Posts: 1,539 | Thanked: 1,604 times | Joined on Oct 2011 @ With my N9
#120
cp -R is copy recursive, not copy and remove, a bit of googling helped, but I could be wrong.
__________________
Arie|www.everythingn9.com|Nokia N9 64GB x2|Nokia N950

@everythingn9

Temporary Inception Fix


Times Banned from TMO: 4
 
Reply


 
Forum Jump


All times are GMT. The time now is 11:18.