aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefano Sabatini <stefano.sabatini-lala@poste.it>2011-02-12 09:12:41 +0000
committerMichael Niedermayer <michaelni@gmx.at>2011-02-13 00:54:06 +0100
commitc906d974b7c3288bc25a1db87acd7129bcc5cd04 (patch)
treebcc2277fd4faff379d045828125f8ff3c7129152
parentb8a613de98e57ef921c9d9c45e02fd9e157f1ea6 (diff)
downloadffmpeg-c906d974b7c3288bc25a1db87acd7129bcc5cd04.tar.gz
Fix script command in a FAQ entry
In the FAQ section "How do I encode single pictures into movies?", use -s for generating symbolic links with the ln command. The script was generating hard links, which is not likely what it was supposed to do. Fix issue 2488. Signed-off-by: Mans Rullgard <mans@mansr.com> (cherry picked from commit e063f5886b27a7374f5060b7c2c21385685b2cb0)
-rw-r--r--doc/faq.texi2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/faq.texi b/doc/faq.texi
index 100adff312..eeaf0df6a9 100644
--- a/doc/faq.texi
+++ b/doc/faq.texi
@@ -147,7 +147,7 @@ that match @code{*jpg} to the @file{/tmp} directory in the sequence of
@file{img001.jpg}, @file{img002.jpg} and so on.
@example
- x=1; for i in *jpg; do counter=$(printf %03d $x); ln "$i" /tmp/img"$counter".jpg; x=$(($x+1)); done
+ x=1; for i in *jpg; do counter=$(printf %03d $x); ln -s "$i" /tmp/img"$counter".jpg; x=$(($x+1)); done
@end example
If you want to sequence them by oldest modified first, substitute