D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] Quickest Way Of stripping White Space From File names - Form the command line.

 

On Thu, Mar 11, 2010 at 06:46:12PM +0000, Roland Tarver wrote:
> Hello
> 
> Every lecture power point or word doc my university send me seems to
> have white space in the file name. I don't like this. What is the best
> way of stripping all white space from file names from that shell?
> 
> Example file name:
> "CEH 207 Programme March 2010.doc"
> 
> Note that the file names can be anything, they will not all match this pattern.
> 
Have you tried the "rename" command. Its:
- A debian package
- Rename multiple files
- Works on perl regexps


-- 
Henry
Photocopies or faxes of my signature are not binding. 
This email has been signed with an electronic signature in accordance with 
subsection 7(3) of the Electronic Communications Act 2000.
Digital Key Signature: GPG RSA 0xFB447AA1 
Thu Mar 11 19:23:12 GMT 2010

Attachment: signature.asc
Description: Digital signature

-- 
The Mailing List for the Devon & Cornwall LUG
http://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/linux_adm/list-faq.html