sslug-teknik team mailing list archive
-
sslug-teknik team
-
Mailing list archive
-
Message #77323
Re: backup af .-filer
On Wed, 27 Oct 2004, Atte André Jensen wrote:
> Frank Damgaard wrote:
>
> > cd ~
> > find . -maxdepth 1 -type lf > /tmp/tar_fil_liste
> > tar -T /tmp/tar_fil_liste -cf /path_til/fil.tar
>
> Det virker (delvist: af uvisse årsager får jeg osse ~/bin pakket med),
> selvom det ikke lige er så elegant med at skrive til en tmpfil...
Hvis du vil af med filen og du kører bash, kan du skrive
tar -T <(find . -maxped... ) osv
<(process) i bash laver en midlertidig fil (pipe, faktisk) af process's
output, som kan anvendes til input.
Mads
--
Mads Bondo Dydensborg. madsdyd@xxxxxxxxxxxx
Ignore cries of wasted bandwidth! This is pure drivel that will always be
posted by the anti-troll lobby. These jerks fail to understand that trolls
are the best way to drive people off the internet thus making available
multi-mbs for the rest of us to download our porn.
- The Subtle Art of Trolling (http://www.altairiv.demon.co.uk/troll/)
References