From 37ff7062874b72bafa99afe661f42653565ed511 Mon Sep 17 00:00:00 2001 From: Mitsuo Tokumori Date: Wed, 11 Sep 2024 04:25:38 +0900 Subject: RESTRUCTURE. Replicate relative paths in public/ --- local/bin/lp1-unzip_deletebinaries_zip.sh | 20 -------------------- 1 file changed, 20 deletions(-) delete mode 100755 local/bin/lp1-unzip_deletebinaries_zip.sh (limited to 'local/bin/lp1-unzip_deletebinaries_zip.sh') diff --git a/local/bin/lp1-unzip_deletebinaries_zip.sh b/local/bin/lp1-unzip_deletebinaries_zip.sh deleted file mode 100755 index 3fa4afb..0000000 --- a/local/bin/lp1-unzip_deletebinaries_zip.sh +++ /dev/null @@ -1,20 +0,0 @@ -#!/bin/bash - -# Script for LP1 labs that are uploaded to Google Drive with binaries and -# that causes problems with Google Drive's automatic virus scan. - -# unzip -for f in *.zip; do unzip -q "$f"; done - -# delete build/ and dist/ directories (virus detection in Google Drive) -find . -type d -regex '^.*/\(dist\|build\)$' -print0 | xargs -0 rm -r - -# zip -rm *.zip # remove old zip files -for d in */; do - dirname="${d%/}" - zip -qr "$dirname.zip" "$d" -done - -# dos2unix (for me) -find . -type f -iregex ".*\.\(csv\|cpp\|h\|hpp\)" -print0 | xargs -0 dos2unix -- cgit v1.2.3