Create PDF Recommend Print

Globbed fileselection (rev2)

Created Monday, 11 January 2010 Created by Nano
Categories News::Linux | Frontpage
(0 votes)

.... in Nautilus.



While using Nautilus, have you ever wished to be able to select a specified range of files without to Ctrl+Click each one?

 

Well, this is easily possible, all you need to do is to press Ctrl+S in a Nautilus Window

(or the Desktop, if Nautilus is used to draw it) and then insert the expression and you're done.

 

Examples:

a) select all mp3 files:

insert: *.mp3

* is a wildcard meaning anything, endless times (eg matches 1.mp3 aswell as example1245.mp3)

 

b) select all files containing linux:

insert: *linux*

 

c) select everyhing which' name is only 3 chars:

insert: ???

? is a wildcard meaning anything one time (eg matches a but not a.mp3)

 

d) insert >> ???-example*.mp3

 

Regexes like *(.mp3|.ogg) are not working, though.

Have Fun!

Comments  

 
0 # donald 2010-02-06 23:28
Actually, this is globbing (http://en.wikipedia.org/wiki/Glob_(programming)) not regex....
Reply | Reply with quote | Quote
 
 
0 # Nano 2010-02-10 19:29
Thanks for the catch. I've just fixed it.
Reply | Reply with quote | Quote
 

Add comment


Security code
Refresh