Story line:
March 4th I powered up my laptop only to get a "no operating system found" message or something to that effect. Removed the drive and via a USB adapter hooked it up to another computer. Nothing. The drive did not exist.
My back-ups are such that I may have lost a few emails, nothing more. Most of the recovery data is on an exfat formatted external drive which means I lost time stamps etc. Everyone using the dos file system has experienced this short coming. My solution was two new hard drives formatted Linux ext4 for my back-up drives. Rebuild is pretty much complete.
My question: I'm using the cp command for the back-up process. Explicitly cp -R -T -u ~/source /path//destination
Do I need the -p switch.
Assuming source is a directory what is the difference between
cp -R -T -u ~/source /path//destination (label 1)
and
cp -R -T -u ~/source /path//destination/ (label 2) note the trailing /
From my experience (label 1) copies the files from directory source into directory destination while
(Label 2) copies the directory so you end up with destination/source
Can anyone confirm this.
Thanks
Rod

