Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #171764

Re: Problem selecting options for cp command

From Dan Purgert <dan@djph.net>
Newsgroups linux.debian.user
Subject Re: Problem selecting options for cp command
Date 2016-09-05 15:00 +0200
Message-ID <se1Ff-3S7-19@gated-at.bofh.it> (permalink)
References <se1lT-3KI-7@gated-at.bofh.it>
Organization A noiseless patient Spider

Show all headers | View raw


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| 

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Problem selecting options for cp command Richard Owlett <rowlett@cloud85.net> - 2016-09-05 14:40 +0200
  Re: Problem selecting options for cp command Patrick Wiseman <pwiseman@gmail.com> - 2016-09-05 14:50 +0200
    Re: Problem selecting options for cp command <tomas@tuxteam.de> - 2016-09-05 15:00 +0200
  Re: Problem selecting options for cp command Mark Fletcher <mark27q1@gmail.com> - 2016-09-05 14:50 +0200
    Re: Problem selecting options for cp command Richard Owlett <rowlett@cloud85.net> - 2016-09-05 16:30 +0200
      Re: Problem selecting options for cp command Lars Noodén <lars.nooden@gmail.com> - 2016-09-05 16:30 +0200
  Re: Problem selecting options for cp command <tomas@tuxteam.de> - 2016-09-05 15:00 +0200
  Re: Problem selecting options for cp command Dan Purgert <dan@djph.net> - 2016-09-05 15:00 +0200
  Re: Problem selecting options for cp command Henrique de Moraes Holschuh <hmh@debian.org> - 2016-09-05 15:00 +0200
    Re: Problem selecting options for cp command <tomas@tuxteam.de> - 2016-09-05 15:10 +0200
    Re: Problem selecting options for cp command Richard Owlett <rowlett@cloud85.net> - 2016-09-05 15:30 +0200
      Re: Problem selecting options for cp command Jonathan Dowland <jmtd@debian.org> - 2016-09-05 15:40 +0200
  Re: Problem selecting options for cp command "Thomas Schmitt" <scdbackup@gmx.net> - 2016-09-05 15:10 +0200

csiph-web