Web lists-archives.com

Re: Backup problem using "cp"




On 05/06/2018 10:38 AM, Pascal Hambourg wrote:
Le 06/05/2018 à 16:22, Richard Owlett a écrit :
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 same pattern "grub2 problem-2018-02-13" seems to be repeated endlessly in the path. Could there be a loop ?



Obviously ;/
I thought I had broken the loop by specifying -x.