[PLUG] OK, GUI file managers all suck

Dan Young danielmyoung at gmail.com
Tue Jun 27 03:42:03 UTC 2006


On 6/26/06, Steven Susbauer <stupendoussteve at gmail.com> wrote:
> On Mon, 26 Jun 2006, John Jason Jordan wrote:
> > I tried to learn how to use the cp command. Really, I did. I read the
> > man page, I googled, and I remain too scared to use it. Too many
> > options that I didn't understand. So here I sit, dragging files one at
> > a time. And it's too effin' hot, too. <sigh>
>
> cp -R /home/jjj/* /home/blah
>
> Should do it.

The -a flag follows the principle of least surprise; it's recursive,
it preserves file permissions and timestamps, and links remain links.
It's the "do what I mean" option. The -v flag shows you what's
happening, which is nice for large copies.

As long as directory /home/blah is not present, just:
cp -av /home/jjj /home/blah

When you're scared, "cd /tmp" and try out stuff there.

-- 
Dan



More information about the PLUG mailing list