Commit e063f588 authored by Stefano Sabatini's avatar Stefano Sabatini Committed by Mans Rullgard
Browse files

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: default avatarMans Rullgard <mans@mansr.com>
parent 40321376
...@@ -147,7 +147,7 @@ that match @code{*jpg} to the @file{/tmp} directory in the sequence of ...@@ -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. @file{img001.jpg}, @file{img002.jpg} and so on.
@example @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 @end example
If you want to sequence them by oldest modified first, substitute If you want to sequence them by oldest modified first, substitute
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment