[SWLUG] Backing up took 3 days

Steve Hill steve at nexusuk.org
Mon Dec 5 12:25:23 UTC 2005


On Mon, 5 Dec 2005, Neil Greenwood wrote:

> Using ".*" in a directory sometimes includes "." and ".." in the list of
> files to process. And doing it recursively, it includes the whole directory
> tree starting from "/".

It shouldn't go all the way back to / - it'll just grab the parent 
directory (and it's children).

A useful shell glob to grab all the dot files is .[^.]* (it's not quite 
complete since it won't get files starting with "..", but close enough for 
most uses)

-- 

  - Steve
    xmpp:steve at nexusuk.org   sip:steve at nexusuk.org   http://www.nexusuk.org/

      Servatis a periculum, servatis a maleficum - Whisper, Evanescence




More information about the Swlug mailing list