hi ya alan
yuppers... ooppss... am smoking funny stuff again... ( just woke up )
meant its a pain to save/restore those whacky names on *nix from
bash/perl and tar|find vs find|tar makes difference too
and win98 wont allow mkdir "foo/tmp" nor "foo\0tmp" as their dirnames
at least n
Alvin Oga <[EMAIL PROTECTED]> writes:
> and you cannot save/create/restore these files on *nix
> -- you'd need some kind of filename mapping
Incorrect. You could create every single one of your examples on
Unix.
The only characters you can't use on Unix are / and \0. You may have
to try a
hi romuald
the only whacky filenames/directories i was able to create (mkdir) on
win98 was...
foo tmp space
foo'tmp apostrophe
foo`tmp back-tick
foo$sale
foo!tmp
foo#tmp
[EMAIL PROTECTED]
foo%tmp
foo^tmp
foo(tmp
foo)tmp
foo[tmp
foo]tmp
and i think you can play tricks with backspace'd name
On Mon, Feb 11, 2002 at 09:22:06PM -0500, Neal Lippman wrote:
*snipped*
> At a bash prompt, I can issue either:
> cp "/mount/windows/spaced name/*" target
> OR
> cp /mount/windows/spaced\ name/* target
> and all works fine.
> However, from within a bash script, something like:
>
> #!/bin/sh
> sour
Romuald DELAVERGNE wrote:
>Hi,
>
>As we are speaking about strange characters in filename,
>I would like to know if it is possible to create a directory or a filename
>with a '/' ?
>
>I think it's the only character we can't use. Is it true ?
No you can't use /. / is for directories.
There are
Hi,
As we are speaking about strange characters in filename,
I would like to know if it is possible to create a directory or a filename
with a '/' ?
I think it's the only character we can't use. Is it true ?
Romuald.
On Tue, 2002-02-12 at 09:04, Alvin Oga wrote:
>
> On Tue, 12 Feb 2002, Greg Murphy wrote:
>
> > Greetings,
> >
> > The following should work:
> >
> > #!/bin/sh
> > sourcedir="/mount/windows/spaced name"
> > cp "$sourcedir"/* $target
>
> i say that the above will barf on windows filenames like
On Tue, 12 Feb 2002, Greg Murphy wrote:
> Greetings,
>
> The following should work:
>
> #!/bin/sh
> sourcedir="/mount/windows/spaced name"
> cp "$sourcedir"/* $target
i say that the above will barf on windows filenames like
"tom's proposal.doc" and "2002 Budget: 1st quarter"
few other whac
Greetings,
The following should work:
#!/bin/sh
sourcedir="/mount/windows/spaced name"
cp "$sourcedir"/* $target
On Monday 11 February 2002 20:22, Neal Lippman wrote:
> Sorry for OT posting; I am not sure if there is a newsgroups for bash
> experts, so I figured I'd try here.
>
> I need to be
hi neal
i think you also need to watch out for other ms windoze gotchas
space in filenames are easy to handle...
more common problems for tar, cp and other unix utils ...
/home/me/tom's proposal/
ticks is a major problem
/home/me/ leading spaced names/
On Monday 11 February 2002 21:22, Neal Lippman wrote:
[...]
> At a bash prompt, I can issue either:
> cp "/mount/windows/spaced name/*" target
> OR
> cp /mount/windows/spaced\ name/* target
> and all works fine.
>
> However, from within a bash script, something like:
>
> #!/bin/sh
> sourcedir=/moun
On Mon, 11 Feb 2002 21:22:06 -0500
Neal Lippman <[EMAIL PROTECTED]> wrote:
[snip]
> I have tried all sorts of variants:
> sourcedir="/mount/windows/spaced\ name"
> sourcedir="/mount/windows/spaced\\ name"
> sourcedir=/mount/windows/spaced\\ name"
[EMAIL PROTECTED]:~$ cat tst.sh
#!/bin/sh
d="foo b
On Mon, 11 Feb 2002 21:22:06 -0500, Neal Lippman <[EMAIL PROTECTED]> wrote:
> Sorry for OT posting; I am not sure if there is a newsgroups for bash
> experts, so I figured I'd try here.
>
> I need to be able to write a bash script that can copy files from a directory
> who's name includes a spa
On Mon, Feb 11, 2002 at 09:22:06PM -0500, Neal Lippman wrote:
> Sorry for OT posting; I am not sure if there is a newsgroups for bash
> experts, so I figured I'd try here.
I'm no bash expert, I'll try though.
>
> I need to be able to write a bash script that can copy files from a directory
> w
14 matches
Mail list logo