Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for file in $archiveFiles;
- #do echo ${file: -4};
- do
- if [[ $file == README.* ]]; then
- echo "skipping readme, not relevant"
- elif [[ $file == *.tar.gz ]]; then
- echo "this is a tar.gz, must extract"
- tarArchiveFiles=`tar -tzf $file`
- for tarArchiveFile in $tarArchiveFiles;
- do echo $tarArchiveFile
- done;
- fi
- done;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement