podget: blanks in filename are causing problems

Tony Baldwin photodharma at gmail.com
Thu Jun 11 12:41:53 UTC 2009


Torsten Kunkel wrote:
> Package: podget
> Version: 0.5.8-1
> Severity: normal
> 
> 
> Greetings,
> 
> whenever there is a blank in a filename wich should be downloaded, the
> program get's an error:

I hate filenames with spaces.
I run a script to replace spaces with underscores:
either

rename.ul \  _ *

or

rename 's/\ /_/g' *

in any dir that has stuff with spaces.
I don't think that helps you with stuff on a remote server, though.

At the same time, it looks like it's the dash (-) giving your problems, 
since it says
/usr/bin/podget: line 549: -: command not found
Maybe because there is a space before the dash, though.
I don't know anything about podget.
Maybe you could post the command you are using that is generating this 
error?
In bash, if you want to deal with a string with spaces, it is best to 
quote the string.
ie., if there were one of these mp3 files that you wanted to remove:

rm -f 'Gans - 070 - Wieder Dahaaa.mp3'
because, if you did it without the 'quotes' you would get
rm: cannot remove `Gans': No such file or directory

I don't know if that helped at all.  hope so.

/tony

-- 
http://www.baldwinsoftware.com
free/open source software
tcl yer os with a feather...




More information about the ubuntu-users mailing list