On 05/06/2018 09:22 AM, Richard Owlett wrote:
I'm attempting to backup current partition to a USB connected 1 TB drive.
I get:
root@debian-jan13:/home/richard# cp -ax / "/media/richard/MISC
backups/dev_sda14/"
cp: cannot stat '/media/richard/MISC
backups/dev_sda14/home/richard/.local/share/Trash/expunged/73080846/grub2
problem-2018-02-13/grub2 problem-2018-02-13/grub2
problem-2018-02-13/grub2 problem-2018-02-13/grub2
problem-2....018-02-13/grub2 problem-2018-02-13': File name too long
The problem turned out to be that
"....local/share/Trash/expunged/73080846/grub2..." appeared under *BOTH*
/home/richard and the root directory.
I successfully ran:
root@debian-jan13:/home/richard# updatedb
root@debian-jan13:/home/richard# locate TRASH
root@debian-jan13:/home/richard# cp -ax /
/media/richard/MISC-backups/dev_sda14/
root@debian-jan13:/home/richard#
I've been introduced to many commands and some of the "logic" of the
Linux way of doing things.
Thanks everybody.