Re: command to copy hidden files?

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

 



On Mon, Jan 22, 2007 at 06:07:08AM -0800, Dave Stevens wrote:
> Hi 
> 
> 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?

TMTOWTDI. The way I use:

$ find /src/dir -print0 | cpio -padmv /dest/dir

However, I don't think cpio will work across devices

For copying across devices, rsync will do:

$ rsync -av /src/dir /dest

Kurt
-- 
The reason they're called wisdom teeth is that the experience makes you wise.


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

  Powered by Linux