mtree und symlinks auf dateien mit leerzeichen

From: Nicolas Rachinsky <list(at)rachinsky.de>
Date: Wed, 20 Feb 2002 00:30:56 +0100

Hallo,

irre ich mich, oder hat mtree ein Problem mit Symlinks, die auf
Dateien verweisen, deren Namen Leerzeichen enthalten?

Script started on Wed Feb 20 00:22:11 2002
nicolas(at)pc5 ~/tmp> touch a\ a
nicolas(at)pc5 ~/tmp> ln -s a\ a t
nicolas(at)pc5 ~/tmp> mtree -c >list
nicolas(at)pc5 ~/tmp> mtree <list
mtree: line 11: unknown keyword a
nicolas(at)pc5 ~/tmp> cat list
# user: nicolas
# machine: pc5.abc
# tree: /data/home/nicolas/tmp
# date: Wed Feb 20 00:22:37 2002

# .
/set type=file uid=1003 gid=1001 mode=0644 nlink=1 flags=none
. type=dir mode=0755 nlink=2 size=512 time=1014160957.0
    a\040a size=0 time=1014160937.0
    list size=0 time=1014160957.0
    t type=link mode=0755 size=3 time=1014160945.0 link=a a
    typescript size=43 time=1014160947.0
..

nicolas(at)pc5 ~/tmp> ^D

Script done on Wed Feb 20 00:22:50 2002

Statt
 
link=a a

habe ich auch

link="a a"
"link=a a"
link=a\ a
link=a\040a

ausprobiert, aber alle gehen nicht.

Nicolas

To Unsubscribe: send mail to majordomo(at)de.FreeBSD.org
with "unsubscribe de-bsd-questions" in the body of the message
Received on Wed 20 Feb 2002 - 00:31:01 CET

search this site