-
-
Save nazt/8acfb92efd95b67ef403f9577b443b36 to your computer and use it in GitHub Desktop.
x.sh
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
echo "$1" | |
if test $# -gt 0; then | |
export ID=$1 | |
else | |
echo "no output dir specified" | |
exit 1 | |
fi | |
pushd /root/dustboy-buffer | |
influx2csv clear-scripts --out-dir=$ID | |
for i in $(find $ID/scripts -name \*.sh); do echo "$i"; bash "$i"; done | |
influx2csv clear-scripts --out-dir=$ID | |
#find . -name ".DS_Store" -delete | |
#find . -size 0 -delete | |
#find . -type d -empty -delete | |
# | |
#for i in $(find $ID/csv/ -name \*.csv); do echo "$i"; csv2line convert --csv-file="$i"; done | |
popd |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment