D&C GLug - Home Page

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

Re: [LUG] Updating the time stamp of specific files recursively throughout a directory structure.

 

On 15/11/10 12:11, Simon Waters wrote:
tom wrote:

These things should be beaten into anyone even thinking of doing an IT course before they're allowed near a mouse!.

Does that include the use of "-print0" on "find" and "-0" on "xargs" ;)

The beatings won't stop until all scripts handle spaces in file names correctly (I know mine don't) or we admit defeat and change the file systems to allow only a limited set of sensible characters in file names.

 Simon

perhaps thats where 'programming' rather than 'scripting' comes in - by which I mean a bit more 'discipline' not wishing to disparage scripting languages per se. unix was meant to be built on a lot of simple programs that did simple things well.
Not sure where it went wrong..
Easily fixed tho...
Tom te tom te tom

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