This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# A bash script for converting all the files in a directory to pyramidal tiff | |
# Pass the directory the images are stored in as an argument | |
# But it will put the images in the current directory ... to be fixed | |
if [ $# -lt 3 ]; then | |
echo 'Usage: tile <directory> <extension> <desired_prefix>' | |
else | |
echo 'Looking for all files in directory: $1/' |