Re: command to copy hidden files?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 23 Jan 2007 10:23:56 +0000, Mark Knoop wrote:

> On 23/01/07, Todd Zullinger <tmz@xxxxxxxxx> wrote:
>> Dave Stevens wrote:
>> > I've tried to copy files from my home folder to do a disk upgrade. I
>> > foolishly only copied the visible (non-dot) files. Now I'd like to
>> > copy only the . files (recursively) but don't see what the syntax
>> > is. Anyone?
> 
> Or you could try
> 
> cp -u ~/* /destination/
> 
> This will only copy when the SOURCE file is newer than the destination
> file or when the destination file is missing.

That will leave the dot files out; the very files the original poster
intends to copy.

Akemi


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux