1dfish(1) General Commands Manual dfish(1)
2
3
4
6 dfish - Daniel's file selection hack
7
9 dfish path command [ glob_mask ]
10
12 dfish is a generic front-end for selecting files. Running dfish will
13 give you a menu with all the files in the specified directory path,
14 which satisfy the glob_mask. When you double-click a file, the speci‐
15 fied command will be run. The "refresh" button reloads the directory
16 contents. When glob_mask is omitted, it defaults to '*': all files.
17
19 The first parameter is the directory to open, the second is the com‐
20 mand, which should be run on the files. The optional third parameter is
21 the shell glob, which can filter the file list, so only the files sat‐
22 isfying the shell pathname expansion expression (for example "*.jpg"
23 means all JPG images) are shown.
24
25
27 dfish /home/user/my_backgrounds "fbsetbg -f" '*.jpg'
28
29 will display all the JPG images in the directory /home/user/my_back‐
30 rounds, double-clicking any image will set it as a desktop background,
31 because that's what the "fbsetbg" command do.
32
33
35 tcl(1), tk(1)
36
38 Written by Daniel Novotný <dnovotny@redhat.com>.
39
40
41
42 08 Feb 2010 dfish(1)