Get a program from freshmeat called 'mp3frip'
its a perl script meant for mp3 renaming
one of the options is to change all spaces to underscores.
if its perl, you should be able to see the source and get an idea.

/avant

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of
Tim
Sent: Friday, 15 December 2000 6:33 AM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: [SLUG] Removing spaces in filenames in a samba mount dir


Hi all

Can anyone help me with this bash  script? I am trying to change all file
and
directory names with spaces to underscores recursively through a directory
structure. I have tried various approaches  Here is one I adapted from a
book. When I run the script, I get:

<snip>



-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug

Reply via email to