Skip to content

Instantly share code, notes, and snippets.

@DAP-DarkneSS
Created July 29, 2013 17:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save DAP-DarkneSS/6105938 to your computer and use it in GitHub Desktop.
Save DAP-DarkneSS/6105938 to your computer and use it in GitHub Desktop.
Prints tarballs from directories with standard subdir. NB! `ls &>/dev/null` makes no output.
#!/bin/bash
for X in *
do
if ls "${X}"/arch/azoth/styles/standard &>/dev/null
then
echo -e https://github.com/DAP-DarkneSS/lcupackages/raw/master/`ls "${X}"/arch/*tar*`
fi
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment