Skip to content
Snippets Groups Projects
Verified Commit 4eab67e4 authored by jonahbeneb02's avatar jonahbeneb02
Browse files

Add fixtimes utility

The directories in the whiteboard export have invalid modification
timestamps, this script "fixes" them, by setting them to the current
time.
parent ed670e16
No related branches found
No related tags found
No related merge requests found
#! /bin/sh
if [ ! -f 'grades.csv' ]; then
printf "Execute within the directory containing 'grades.csv'\n" >&2
exit 1
fi
find . -exec touch {} \;
#! /bin/sh
scripts="fixpdf.sh fucopy.sh fufixpdf.sh fuzip.sh fuxournalexport.sh"
scripts="fixpdf.sh fucopy.sh fufixpdf.sh fuzip.sh fuxournalexport.sh fixtimes.sh"
destdir="${DESTDIR:=$HOME/.local/bin}"
mkdir -p "$destdir"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment