Re: JPG-Dateien in einem Verzeichnis zusammenpacken und archivieren
From
Frank Thommen <frank.thommen@...>
Date
On 28.02.12 18:45, Jakob Haufe wrote:
> On Tue, 28 Feb 2012 18:13:01 +0100
> Thomas Luft<thomas.luft@...> wrote:
>
> > tar -cf --remove-files snapshots.tar snapshot*
> >
> > Leider produziert das aber einen Fehler:
> >
> > tar: snapshots.tar: Cannot stat: No such file or directory
> > tar: Exiting with failure status due to previous errors
>
> Die Option f erwartet den Namen des Archivs.
>
> tar cf snapshots.tar --remove-files snapshot*
>
> funktioniert bei meinem Test sauber.
Ich glaube, Thomas will lieber
tar uf snapshots.tar --remove-files snapshot*
sonst ueberschreibt er den Inhalt seines Archives jedesmal statt es zu
erweitern.
frank
--
UUGRN e.V. http://www.uugrn.org/
http://mailman.uugrn.org/mailman/listinfo/uugrn
Wiki: https://wiki.uugrn.org/UUGRN:Mailingliste
Archiv: http://lists.uugrn.org/