summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2012-01-15 13:50:40 +0100
committerDaniel Friesel <derf@finalrewind.org>2012-01-15 13:50:40 +0100
commit310b60793c9e87eb2a13a7c0396c09634ca08a22 (patch)
tree797f93774e7fae0c03eadca9b3f8b90582e8e2d9 /man
parent919298ad43bff814c91ed7bc4a402b72db6fa9a5 (diff)
Add %F and %N printf sequences for escaped file name (closes #77)
Diffstat (limited to 'man')
-rw-r--r--man/feh.pre13
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
.