Command line list of folders...

Bevis R W King <brwk-o7Y/[email protected]> Thu, 20 Jul 2006 12:19:15 +0100
Newsgroups gmane.comp.gnome.apps.gqview.devel
Organization Bevtec Communications Ltd
Message-ID <[email protected]>
Hi Guys - I've been a gqview user for about six months and it's almost
weaned me off using xv....  However there is one little "feature" that
has been "itching" and I thought I'd just mail here to see if it's been
addressed before attempting to dive in a write a patch for it.

If you do:

	gqview DirectoryA/

	or

	gqview DirectoryA/*

it obviously lets you run a slide show of the contents of the directory.
If you want to make a slide show of a number of directories, then you
can do it with:

	gqview DirectoryA/* DirectoryB/* DirectoryC/* DirectoryD/*

and that works, at least until the shell explodes with:
	gqview: arg list too long

(I use the file system and subdirectories extensively for organising my
image collection - 160 character relative path names are not unusual,
and so this does actually blow up on me fairly regularly...)

So the obvious thing to do is let gqview parse the directory contents
rather than getting the shell to do a wildcard expansion....  thus the
obvious step would be:

	gqview DirectoryA/ DirectoryB/ DirectoryC/ DirectoryD/

However this results in DirectoryA being browsed and the following
STDERR reports of:

GQview 2.1.1, This is a beta release.
invalid or ignored: DirectoryB/
Use --help for options
invalid or ignored: DirectoryC/
Use --help for options
invalid or ignored: DirectoryD/
Use --help for options

Not quite what I had in mind... hence I was thinking of diving in and
trying to fix the code to not do this....  but if you guys are already
looking into it, or there's a patch in the CVS/SVN tree, then I'd like
to just grab that rather than digging around in the code.

Cheers and thanks for a great application.

Regards, Bevis.


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV