When I try to describe my directory name with a whitespace in it, amcheck considers that
the word following the whitespace is the dumptype.
For example, when I try (with or without simple or double quotes)
/usr1/home/document/Ingenierie SYNLOG
amcheck takes SYNLOG as the dumptype, and tells me it doesn't exist.
And when I try using the special characters, amcheck doesn't take SYNLOG as
the dumptype, but it takes the directory name WITH THE SPECIAL CHARACTERS as the
REAL directory name. Wich, I think, should not be.
Did anyone already try to cope with whitespaces in directory names in the disklist file ?
D. Keith Higgs a écrit:
I would try a couple of other things.* Replace " " with "%20" so you have "/usr1/home/document/Ingenierie%20SYNLOG" * Double quote the name * Single quote the name (some shells treat the different quotes differently) D. Keith Higgs <mailto:[EMAIL PROTECTED]> x0559 Case Western Reserve University, Webmaster - University Library Additional Information at http://www.cwru.edu/UL/ and http://keith.cwru.edu/ "Follow the white rabbit."-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Gilles Bourcy Sent: Thursday, February 27, 2003 05:17 AM To: amanda-users Subject: whitespaces in disk names Hello, My problem is the following : I wish to save a directory in which there is a whitespace : /usr1/home/document/Ingenierie SYNLOG So in the disklist file I tried different possibilities, first by using Linux usual means to deal with whitespaces in directory names : /usr1/home/document/Ingenierie\ SYNLOG "/usr1/home/document/Ingenierie SYNLOG" But when doing an amcheck, it rejects with an error saying that SYNLOG is a non defined dump-type (which is normal : it's part of the name of a directory, not a dumptype). So I tried using the different means offered by Amanda. : /usr1/home/document/Ingenierie?SYNLOG ^/usr1/home/document/Ingenierie?SYNLOG$ /usr1/home/document/Ing*SYNLOG and so on... But when doing an amcheck, I've got an error saying the directories or files don't exist. Has someone any idea ?
