Beruflich Dokumente
Kultur Dokumente
call cd %~dpG
call !curentDir!\BIN\tar --create --format=gnu -b20 --quoting-style=escape --ow
ner=0 --group=0 --totals --mode=644 -f %~nG.tar %~nxG
)
C:\Users\Hisam\Downloads\Converter>(
call cd C:\Users\Hisam\Downloads\Converter\
call !curentDir!\BIN\tar --create --format=gnu -b20 --quoting-style=escape --ow
ner=0 --group=0 --totals --mode=644 -f recovery.tar recovery.img
)
Total bytes written: 7075840 (6.8MiB, 119MiB/s)
C:\Users\Hisam\Downloads\Converter>cd !curentDir!
C:\Users\Hisam\Downloads\Converter>rem Create the md5 final file:
C:\Users\Hisam\Downloads\Converter>FOR /F "delims=" %G in ('DIR /S /A:-D /B *.ta
r') do (
call cd %~dpG
call !curentDir!\BIN\md5sum -t %~nxG 1>>%~nxG
call !curentDir!\BIN\mv %~nxG %~nxG.md5
)
C:\Users\Hisam\Downloads\Converter>(
call cd C:\Users\Hisam\Downloads\Converter\
call !curentDir!\BIN\md5sum -t recovery.tar 1>>recovery.tar
call !curentDir!\BIN\mv recovery.tar recovery.tar.md5
)
C:\Users\Hisam\Downloads\Converter>cd !curentDir!
C:\Users\Hisam\Downloads\Converter>rem clean directoies from img files
C:\Users\Hisam\Downloads\Converter>FOR /F "delims=" %G in ('DIR /S /A:-D /B *.im
g *.bin') do del "%G"
C:\Users\Hisam\Downloads\Converter>del "C:\Users\Hisam\Downloads\Converter\recov
ery.img"