New answers tagged images
0
votes
Split a group of images vertically with output in different directories
There is a fundamental misunderstanding of looping. Let's go through your code:
for i in Testovnica_chemia-???.png
do
Your loop will run with i being every instance of Testovnica_chemia-???.png, so ...
1
vote
Split a group of images vertically with output in different directories
It looks like you created the loop but didn't use the loop variable
for src in ../Testovnica_chemia-???.png
do
num="${src##*-}"
num="${num%.png}"
dst="...
Top 50 recent answers are included
Related Tags
images × 370imagemagick × 57
image-manipulation × 42
linux × 32
command-line × 26
files × 23
shell-script × 20
pdf × 20
conversion × 19
software-rec × 17
ubuntu × 15
scripting × 13
terminal × 12
png × 12
video × 10
bash × 9
debian × 9
download × 8
jpeg × 8
feh × 8
shell × 7
gimp × 7
exif × 7
image-viewer × 7
mount × 6