Article 5CBM9 [lost+found] command cp not working

[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?latest?d=yIl2AUoC8zA latest?i=Iwr_Uh81fok:NZpydfq1uNc:F7zBnMy latest?i=Iwr_Uh81fok:NZpydfq1uNc:V_sGLiP latest?d=qj6IDK7rITs latest?i=Iwr_Uh81fok:NZpydfq1uNc:gIN9vFwIwr_Uh81fok
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments