From 310b60793c9e87eb2a13a7c0396c09634ca08a22 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sun, 15 Jan 2012 13:50:40 +0100 Subject: Add %F and %N printf sequences for escaped file name (closes #77) --- man/feh.pre | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'man') 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 . -- cgit v1.2.3