diff options
author | Daniel Friesel <derf@finalrewind.org> | 2012-01-15 13:50:40 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2012-01-15 13:50:40 +0100 |
commit | 310b60793c9e87eb2a13a7c0396c09634ca08a22 (patch) | |
tree | 797f93774e7fae0c03eadca9b3f8b90582e8e2d9 /man/feh.pre | |
parent | 919298ad43bff814c91ed7bc4a402b72db6fa9a5 (diff) |
Add %F and %N printf sequences for escaped file name (closes #77)
Diffstat (limited to 'man/feh.pre')
-rw-r--r-- | man/feh.pre | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/man/feh.pre b/man/feh.pre index 56ff766..254a5f7 100644 --- a/man/feh.pre +++ b/man/feh.pre @@ -744,6 +744,11 @@ file . Image path/filename . +.It %F +. +Escaped image path/filename +.Pq for use in shell commands +. .It %h . Image height @@ -760,6 +765,10 @@ Current mode . Image name . +.It \&%N +. +Escaped image name +. .It %p . Number of image pixels @@ -1329,7 +1338,7 @@ Open each image in /opt/images/holidays in its own window Show the images in .../presentation, sorted by name, in fullscreen, automatically change to the next image after 5 seconds . -.It feh -rSwidth -A Qo mv '%f' ~/images/'%n' Qc /opt/images +.It feh -rSwidth -A Qo mv %F ~/images/\&%N Qc /opt/images . View all images in /opt/images and below, sorted by width, move an image to ~/image/image_name when enter is pressed @@ -1343,7 +1352,7 @@ images are still in the slideshow and can be viewed normally . Same as above . -.It feh --info \&"exifgrep '\&(Model\&|DateTimeOriginal\&|FNumber\&|ISO\&|Flash\&)' '%f' \&| cut -d \&. -f 4-\&" \&. +.It feh --info \&"exifgrep '\&(Model\&|DateTimeOriginal\&|FNumber\&|ISO\&|Flash\&)' %F \&| cut -d \&. -f 4-\&" \&. . Show some EXIF information, extracted by exifprobe/exifgrep . |