Open LinuxBeaver opened 2 years ago
you should be able to do it via your shell, something like this in bash
perhaps-
for file in /dir/*
do
glitch_this [options] "$file"
done
#!/bin/bash
# For each file in the input directory
for file in ./input/*; do
# Get the filename
filename=$(basename "$file")
# Calculate file/without extension
output_file=$(echo $filename | cut -f 1 -d '.').gif
echo $output_file
# Run the script on the file
echo $file
glitch_this $file -sd 69 -c -f -i .2 -st 7 -g -o ./output/$output_file 1
done
I'd like to know if GT can apply operations to every image in a folder.