command to copy hidden files?

Till Maas opensource at till.name
Tue Jan 23 16:15:02 UTC 2007


On Monday 22 January 2007 15:07, 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?

In case the filenames of the dot files have a length of 3 or more you can use:

cp .??* target

Regards,
Till





More information about the fedora-list mailing list