Re: Problem selecting options for cp command
Richard Owlett wrote:
> I attempted to copy contents of one partition to another using
> cp -R /media/richard/myrepo /media/richard/test
>
> /media/richard/myrepo is a hard disk partition
> /media/richard/test is a USB flash drive
>
> I received "illegal operation" error messages as symbolic links
> were encountered.
> "man cp" was too terse to be illuminating.
> [snip]
>
> What option(s) should I be using?
> Should I be looking at "dd" rather than "cp"?
> [snip]
Using 'dd' may work, though it seems you need to simply add the -l
option to the 'cp' command you were using.
--
|_|O|_| Registered Linux user #585947
|_|_|O| Github: https://github.com/dpurgert
|O|O|O|
Reply to: