Picture Server Storing Millions of jpg's!

Kurt Wall kwall at kurtwerks.com
Thu Jan 3 06:17:50 PST 2008


On Thu, Jan 03, 2008 at 05:03:58AM -0800, Shawn Tayler wrote:
> On Thu, 03 Jan 2008 15:06:55 +1100 James McDonald
> <james at jamesmcdonald.id.au> exclaimed:
> 
> > You still haven't mentioned specifically how the server or whoever is 
> > trying to access the photos is failing. 'can't handle' in what sense?
> 
> It's simply the raw number of files involved, several thousand a day
> sometimes....
> 
> Some of the cameras, they are not all of the same model, use file names
> with spaces in them and xargs gets a little twitchy with it.  

With xargs, specify "xargs -0" to deal with filenames that have
spaces. Similarly, if you're using find, use the "print0" predicate,
as in "find . -name mumble -print0".

Kurt
-- 
timesharing, n:
	An access method whereby one computer abuses many people.



More information about the Linux-users mailing list