[linux-support] Shellscriptfragen

Thomas Deutsch thomas_mailinglisten at tuxpeople.org
Fri Sep 17 19:00:26 CEST 2004


Am Friday, 17. September 2004 17.35 schrieb miLosh:
> a=`ls -d $home/*`
> tar cvf mytarfile.tar $a

[backup at srv1 backup]$ ./backup.sh
./backup.sh: line 8: /bin: is a directory
tar: Kein leeres Archiv angelegt.
`tar --help' zeigt weitere Informationen.

wen ich aus $home ein /home mache kommt:

[backup at srv1 backup]$ ./backup.sh
./backup.sh: line 8: /home/artikel: is a directory
tar: Kein leeres Archiv angelegt.
`tar --help' zeigt weitere Informationen.

mfg

Thomas

-- 
My gpg-Key (#0C662768) is avaible at wwwkeys.ch.pgp.net or 
http://www.tuxpeople.org/~thomas/key.asc.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.lugbe.ch/vpipermail/linux-support/attachments/20040917/7562549b/attachment.bin


More information about the Linux-support mailing list