I'm using evolution 2.0.2 to read my email.
When I get email with attachments from people in the windows world,
often the filenames will have spaces in them. When I go to save the
attachment to disk, the spaces in the filename are changed to
underscores.
Is there any way to turn off this behaviou
On July 13, 2003 06:05 am, David selby wrote:
> I need to scan a directory for the file names contained in it.
>
> for _scantox in $(ls $_tox); do
> .
> done
If I expect to find files with spaces I always use some variant of this:
ls /somewhere | while read file; do
something "$file"
don
Jeff Schaller wrote:
David selby <[EMAIL PROTECTED]> wrote:
I need to scan a directory for the file names contained in it.
However some of the file names are in the form of
342345\ remind\ for\ apt-get\ update
ie they have escaped spaces in the name.
Without resorting to c
Steve Lamb wrote:
On Sun, 13 Jul 2003 11:05:41 +0100
David selby <[EMAIL PROTECTED]> wrote:
I need to scan a directory for the file names contained in it.
for _scantox in $(ls $_tox); do
.
done
Why use ls? Use the shell's globbing. IE, poor man's ls:
bash-2.05b$ echo *
De
> David selby <[EMAIL PROTECTED]> wrote:
> >I need to scan a directory for the file names contained in it.
> >However some of the file names are in the form of
> >342345\ remind\ for\ apt-get\ update
> >
> >ie they have escaped spaces in the name.
> >Without resorting to complex string manipulati
On Sun, July 13 at 11:05 AM EDT
David selby <[EMAIL PROTECTED]> wrote:
>I need to scan a directory for the file names contained in it.
>
>for _scantox in $(ls $_tox); do
>.
>done
>
>works just file with _scantox holding the file name, However some of the
>file names are in the form of
>342345
Hello,
I need to scan a directory for the file names contained in it.
for _scantox in $(ls $_tox); do
.
done
works just file with _scantox holding the file name, However some of the
file names are in the form of
342345\ remind\ for\ apt-get\ update
ie they have escaped spaces in the name. I
On Thu, Feb 06, 2003 at 01:11:26PM -0500, Sheldon Lee-Wen wrote:
> However, some of the files have spaces in the names, like "My File.html"
> How do I get $doc to have the correct file name?
Quote the filename.
--
.''`. Baloo <[EMAIL PROTECTED]>
: :' :proud Debian admin and user
`. `'`
Sheldon Lee-Wen wrote:
Hi,
I'm trying to write a script where I can get the names of files in a
directory. Normally this is easy, like this:
for doc in `ls /var/www/htlml/files`
do
echo $i
done
However, some of the files have spaces in the names, like "My File.html"
How d
Once upon a time Sheldon Lee-Wen said...
> Hi,
>
>I'm trying to write a script where I can get the names of files in a
> directory. Normally this is easy, like this:
>
>for doc in `ls /var/www/htlml/files`
> do
> echo $i
> done
>
> However, some of the fi
-- Sheldon Lee-Wen <[EMAIL PROTECTED]> wrote
(on Thursday, 06 February 2003, 01:11 PM -0500):
> Hi,
>
>I'm trying to write a script where I can get the names of files in a
> directory. Normally this is easy, like this:
>
>for doc in `ls /var/www/htlml/files`
> do
>
On Thu, 2003-02-06 at 11:11, Sheldon Lee-Wen wrote:
> Hi,
>
>I'm trying to write a script where I can get the names of files in a
> directory. Normally this is easy, like this:
>
>for doc in `ls /var/www/htlml/files`
> do
> echo $i
> done
>
> However, som
Hi,
I'm trying to write a script where I can get the names of files in a
directory. Normally this is easy, like this:
for doc in `ls /var/www/htlml/files`
do
echo $i
done
However, some of the files have spaces in the names, like "My File.html"
How do I
13 matches
Mail list logo