command to copy hidden files?

Les hlhowell at pacbell.net
Tue Jan 23 20:00:58 UTC 2007


On Tue, 2007-01-23 at 17:15 +0100, Till Maas wrote:
> 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
> 
> 
Wouldn't TAR manage this better? or perhaps dd?

Regards,
Les H




More information about the fedora-list mailing list