more logprint
This commit is contained in:
parent
a8c457ab9e
commit
e3addc0297
|
@ -2,13 +2,14 @@
|
|||
|
||||
source scripts/shared.fish
|
||||
|
||||
logprint "INFO" "blue" "creating directory $(pwd)/temp"
|
||||
mkdir -p "temp"
|
||||
|
||||
set dircontent $(find "." -type f | grep -v ".git" | grep -v ".temp" | sort -z)
|
||||
|
||||
for i in $dircontent
|
||||
if [ $i != "" ]
|
||||
echo "[INFO] Hashing $i"
|
||||
logprint "INFO" "blue" "hashing file $i"
|
||||
set ihash "$(sha1sum $i)"
|
||||
echo "$ihash" >> "temp/directorylisthashed.txt"
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue