Will bash work on this platform? (Is it installed?)

R

If so,

Ian Cheong wrote:

Are you sure that the filename has a trailing space or is it a space before the hidden .extension.

I tried adding spaces to several files with recognised extensions and the filesystem added the extension back again!

so
20.pdf+<spc>
became
20.pdf<spc>.pdf

similar with .doc

(You could try the freeware/donationware app called "r-name" if complicated command line *nix syntax drives you nuts.)


Ian

At 8:17 pm +1100 7/3/07, Simon James wrote:

 > On Wednesday 07 March 2007 20:01, Simon James wrote:

 Can any *nix aficionados give me a command to recursively search a
directory structure and remove the trailing spaces from any file names? Spaces within the name need to remain ideally, it is just the ones at the
 end I want gone.


file names in all Unix file systems I know of CANNOT have trailing spaces
 What file system are you working with?


OS X. It's GUI too nice for its own good in this case (though via terminal it doesn't allow you to make such file names). It doesn't prevent "/" being used either, which as you would know can cause major problems when FTP or
terminal commands come into play.

Any help would be much appreciated.

Cheers,
Simon


_______________________________________________
Gpcg_talk mailing list
[email protected]
http://ozdocit.org/cgi-bin/mailman/listinfo/gpcg_talk



_______________________________________________
Gpcg_talk mailing list
[email protected]
http://ozdocit.org/cgi-bin/mailman/listinfo/gpcg_talk

Reply via email to