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
for f in *.tar.gz; do tar xf "$f"; done |
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
# The GNU General Public License v3.0 | |
Get-ChildItem -File -Filter '*.gz' | | |
ForEach-Object { | |
Move-Item -Path $_.FullName -Destination $($_.FullName -replace '^(.*)\.gz$', '$1.tar.gz') | |
} |
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
#!/bin/sh | |
# from https://github.com/andrewpearce-digital/pdf2tiff/blob/master/pdf2tiff.sh | |
# Requires ghostscript | |
# ubuntu: sudo apt install ghostscript | |
FILECOUNT=0 | |
TOTALSTARTTIME=$(date +"%s") | |
#Get all pdfs in process folder | |
for f in *.pdf | |
do |