[lost+found] command cp not working
by thomasbb from LinuxQuestions.org on (#5CBM9)
My usb stick is formatted in ext4 (the command mount -t vfat wasn't found at that moment). But when I want to copy everything from it, the cp command fails because of the lost+found directory.
Is there a way to bypass the error? For example, I tried
Code:mount -v /dev/sdXY /mnt
cp /mnt/* ~/mydir 2> /dev/null
cp /mnt/* ~/mydir 2> /dev/null 1>&2but it's not enough... Any idea?


Is there a way to bypass the error? For example, I tried
Code:mount -v /dev/sdXY /mnt
cp /mnt/* ~/mydir 2> /dev/null
cp /mnt/* ~/mydir 2> /dev/null 1>&2but it's not enough... Any idea?