I used to be so good with DOS and the Windows command line... I'm just not getting it with Linux... too old, probably (ME, not Linux).
I recently bought and installed an external, 1TB USB drive in preparation for 'nuking' my current setup and starting over clean, from empty hard drives. The drive is running fine, no apparent problems, Nautilus seems to be happy with it, reads and writes with no issues.
I've been trying to use the "cp" command to do an incremental-backup type operation. Basically, I'd like for "cp" to copy only those files that have been changed, or are completely new and don't exist in the destination folder(s) at all, so I don't have to sit there and babysit Nautilus when it sees things it doesn't know what to do with. Reason for all this is that I copied the "home" directory (the only one I'm interested in saving) external USB drive, using Nautilus, but I've been continuing to use 10.10 to do other things, getting ready to pull the plug, and I'd like to ensure that any new or changed files anywhere within the "home" directory or it's sub-directories get copied over before i pull the trigger.
I'm not using a dedicated backup app because my current install (10.10) has become so squirrely that it won't install or even upgrade a LOT of things, this among them. Given the level of weirdness of this install, I'm going "tabula rasa" and starting blank-disc clean.
Problem is, when I try to use this command in Terminal, from the source directory (home):
cp -r -u -v / 1Tb Xtrnl Backup/Home Folder
terminal returns the error:
"cp: target 'Folder' is not a directory"
I tried using "1TbXtrnlBackup/HomeFolder", and terminal returns:
"cp: missing destination file operand after '/HomeFolder" or "cp: cannot create directory '1TbXtrnlBackup/HomeFolder' : No such file or directory"
I should probably note here that when I type:
"cd /", then type "dir" or "ls", the external drive does not appear, even though Nautilus sees it just fine.
I haven't been able to find any examples of any similar problem anywhere, so here I be, hat in hand.
I'm especially puzzled by terminal's failure to display an existing drive that Nautilus does. I think that's probably the root of my difficulties, but I'm at a complete loss as to where to go with it (other than here, of course } )
Any thoughts greatly appreciated; I'm really looking forward to catching up with everyone else, and having a stable, fully-working install again!