command to copy hidden files?
Kurt Wall
kwall at kurtwerks.com
Tue Jan 23 03:00:42 UTC 2007
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.
More information about the fedora-list
mailing list