summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-x.old/d8concat (renamed from video/d8concat)0
-rwxr-xr-x.old/d8integrity (renamed from video/d8integrity)0
-rwxr-xr-x.old/dmenu_runapp (renamed from launch/dmenu_runapp)0
-rwxr-xr-x.old/dmenunametag (renamed from keyboard/dmenunametag)0
-rwxr-xr-x.old/dnfu (renamed from misc/dnfu)0
-rwxr-xr-x.old/dockfanctl (renamed from keyboard/dockfanctl)0
-rw-r--r--.old/dvgrabscript (renamed from video/dvgrabscript)0
-rwxr-xr-x.old/emu (renamed from launch/emu)0
-rwxr-xr-x.old/enablecoredumps (renamed from misc/enablecoredumps)0
-rwxr-xr-x.old/music (renamed from launch/music)0
-rwxr-xr-x.old/rectape (renamed from video/rectape)0
-rwxr-xr-x.old/rectapehevc (renamed from video/rectapehevc)0
-rwxr-xr-x.old/rectapevaapi (renamed from video/rectapevaapi)0
-rwxr-xr-x.old/screenrec (renamed from video/screenrec)0
-rwxr-xr-x.old/shows (renamed from launch/shows)0
-rwxr-xr-x.old/sinkswitch (renamed from keyboard/sinkswitch)0
-rwxr-xr-x.old/sync/griff (renamed from sync/griff)0
-rwxr-xr-x.old/sync/pull (renamed from sync/pull)0
-rwxr-xr-x.old/sync/pushsite (renamed from sync/pushsite)0
-rwxr-xr-x.old/sync/sink (renamed from sync/sink)0
-rwxr-xr-x.old/vaapiencode (renamed from video/vaapiencode)0
-rwxr-xr-x.old/viewintensitypro (renamed from video/viewintensitypro)0
-rwxr-xr-x.old/viewwebcam (renamed from video/viewwebcam)0
-rwxr-xr-x.old/volcon (renamed from keyboard/volcon)0
-rwxr-xr-x.old/volume (renamed from bar/volume)0
-rwxr-xr-x.old/wgconnect (renamed from keyboard/wgconnect)0
-rwxr-xr-xmisc/launch (renamed from launch/launch)0
-rwxr-xr-xmisc/verifoo110
-rwxr-xr-xmisc/wmip (renamed from bar/wmip)0
29 files changed, 0 insertions, 110 deletions
diff --git a/video/d8concat b/.old/d8concat
index bf8b608..bf8b608 100755
--- a/video/d8concat
+++ b/.old/d8concat
diff --git a/video/d8integrity b/.old/d8integrity
index 717032b..717032b 100755
--- a/video/d8integrity
+++ b/.old/d8integrity
diff --git a/launch/dmenu_runapp b/.old/dmenu_runapp
index 4d7a45e..4d7a45e 100755
--- a/launch/dmenu_runapp
+++ b/.old/dmenu_runapp
diff --git a/keyboard/dmenunametag b/.old/dmenunametag
index 0458c79..0458c79 100755
--- a/keyboard/dmenunametag
+++ b/.old/dmenunametag
diff --git a/misc/dnfu b/.old/dnfu
index 9f6a9cb..9f6a9cb 100755
--- a/misc/dnfu
+++ b/.old/dnfu
diff --git a/keyboard/dockfanctl b/.old/dockfanctl
index f422b3e..f422b3e 100755
--- a/keyboard/dockfanctl
+++ b/.old/dockfanctl
diff --git a/video/dvgrabscript b/.old/dvgrabscript
index d82ba55..d82ba55 100644
--- a/video/dvgrabscript
+++ b/.old/dvgrabscript
diff --git a/launch/emu b/.old/emu
index 87c0e2a..87c0e2a 100755
--- a/launch/emu
+++ b/.old/emu
diff --git a/misc/enablecoredumps b/.old/enablecoredumps
index e435cc7..e435cc7 100755
--- a/misc/enablecoredumps
+++ b/.old/enablecoredumps
diff --git a/launch/music b/.old/music
index cb78257..cb78257 100755
--- a/launch/music
+++ b/.old/music
diff --git a/video/rectape b/.old/rectape
index 238f5de..238f5de 100755
--- a/video/rectape
+++ b/.old/rectape
diff --git a/video/rectapehevc b/.old/rectapehevc
index c44d6d9..c44d6d9 100755
--- a/video/rectapehevc
+++ b/.old/rectapehevc
diff --git a/video/rectapevaapi b/.old/rectapevaapi
index 91c0709..91c0709 100755
--- a/video/rectapevaapi
+++ b/.old/rectapevaapi
diff --git a/video/screenrec b/.old/screenrec
index 8f65514..8f65514 100755
--- a/video/screenrec
+++ b/.old/screenrec
diff --git a/launch/shows b/.old/shows
index a0cb8a6..a0cb8a6 100755
--- a/launch/shows
+++ b/.old/shows
diff --git a/keyboard/sinkswitch b/.old/sinkswitch
index 3046498..3046498 100755
--- a/keyboard/sinkswitch
+++ b/.old/sinkswitch
diff --git a/sync/griff b/.old/sync/griff
index 549b108..549b108 100755
--- a/sync/griff
+++ b/.old/sync/griff
diff --git a/sync/pull b/.old/sync/pull
index f52ec5e..f52ec5e 100755
--- a/sync/pull
+++ b/.old/sync/pull
diff --git a/sync/pushsite b/.old/sync/pushsite
index 1a1cbc3..1a1cbc3 100755
--- a/sync/pushsite
+++ b/.old/sync/pushsite
diff --git a/sync/sink b/.old/sync/sink
index b11b492..b11b492 100755
--- a/sync/sink
+++ b/.old/sync/sink
diff --git a/video/vaapiencode b/.old/vaapiencode
index ae079f2..ae079f2 100755
--- a/video/vaapiencode
+++ b/.old/vaapiencode
diff --git a/video/viewintensitypro b/.old/viewintensitypro
index cd2d73d..cd2d73d 100755
--- a/video/viewintensitypro
+++ b/.old/viewintensitypro
diff --git a/video/viewwebcam b/.old/viewwebcam
index c56d879..c56d879 100755
--- a/video/viewwebcam
+++ b/.old/viewwebcam
diff --git a/keyboard/volcon b/.old/volcon
index 9940c67..9940c67 100755
--- a/keyboard/volcon
+++ b/.old/volcon
diff --git a/bar/volume b/.old/volume
index 4a4b4a8..4a4b4a8 100755
--- a/bar/volume
+++ b/.old/volume
diff --git a/keyboard/wgconnect b/.old/wgconnect
index de8f307..de8f307 100755
--- a/keyboard/wgconnect
+++ b/.old/wgconnect
diff --git a/launch/launch b/misc/launch
index 5947ae7..5947ae7 100755
--- a/launch/launch
+++ b/misc/launch
diff --git a/misc/verifoo b/misc/verifoo
deleted file mode 100755
index 34089cb..0000000
--- a/misc/verifoo
+++ /dev/null
@@ -1,110 +0,0 @@
-#!/bin/sh
-
-help() {
-cat << HELPDOC
-usage: $(basename "$0") [options] [file]...
-
-OPTIONS:
- -h, --help show this menu
- -c, --check read and verify checksums from file
- -r, --recursive produce a checksum for all files in a directory recursively
- --recursive-sum produce a checksum for a directory. sensitive to filenames
- --recursive-sum-nopath produce a checksum for a directory. not sensitive to filenames/placement
- -s, --silent produce no output to stderr
- -v, --verbose output a progress bar of hash progress if pv is avaliable (wip)
-
-MODES:
- -S, --sha use sha1sum for checksums
- -M, --md5 use md5sum for checksums
- -X, --xxh use xxhsum for checksums (default if avaliable with sha1sum as fallback)
-HELPDOC
-}
-
-# set defaults
-cat="pv -F'%r_[%b]_[%t]_[%e]_%p'"
-! command -v pv >/dev/null && cat=cat
-
-hash=xxhsum
-! command -v xxhsum >/dev/null && hash=sha1sum
-
-hashfiles=""
-verbose=1
-recursive=""
-outputfile=""
-
-while true; do
- case "$1" in
- -c|--check) [ -n "$2" ] && hashfiles="$hashfiles $2" && shift ;;
- -s|--silent) verbose=0 ;;
- -v|--verbose) verbose=2 ;;
- --recursive|-r) recursive=3 ;;
- --recursive-sum) recursive=2 ;;
- --recursive-sum-nopath) recursive=1 ;;
- -S|--sha) hash=sha1sum ;;
- -M|--md5) hash=md5sum ;;
- -X|--xxh) hash=xxhsum ;;
- -h|--help) help; exit 0 ;;
- -*) help; exit 1 ;;
- *) break ;;
- esac
- shift
-done
-
-case $verbose in
- 0) cat=cat ;;
- 1) cat=cat ;;
-esac
-
-# run hash
-while [ -n "$1" ]; do
- if [ -d "$1" ]; then # is directory
- # check if using -r flag
- case "$recursive" in
- 1)
- # get hash of all files, sort hashes, hash hashes
- # TODO make pv work in this mode
-
- #catd="$cat"
- #if [ $verbose -ge 2 ] && [ "$catd" != "cat" ]; then
- # total_files=$(du -a "$1" | wc -l)
- # catd="pv -l -s$total_files -F'[%b/$total_files]_[%t]_[%e]_%p'"
- #fi
- #sum=`find "$1" -type f -print0 | xargs -r0 $hash | $catd | cut -d' ' -f1 | sort | $hash | cut -d' ' -f1` 2>/dev/null
- sum=`find "$1" -type f -print0 | xargs -r0 $hash | cut -d' ' -f1 | sort | $hash | cut -d' ' -f1` 2>/dev/null
- echo "r/$sum $1"
- ;;
- 2)
- # hash sorted filenames
- # sort all filenames w/ full path and hash
- # hash those sums together
- # `tar -c -f - "$1" | $hash` is a good idea but it doesn't work since changes to the fs affect tar
- filehash=`find "$1" -type f -print0 | sort -z | xargs -r0 $cat | $hash | cut -d' ' -f1`
- pathhash=`find "$1" -printf "%P\0" | sort -z | $hash | cut -d' ' -f1`
- sum=`printf "$filehash$pathhash" | $hash | cut -d' ' -f1`
- echo "p/$sum $1"
- ;;
- 3)
- # sort files and hash each one in sequence
- # TODO make pv work in this mode
- find "$1" -type f -print0 | sort -z | xargs -r0 $hash
- ;;
- *)
- [ $verbose -ge 1 ] && echo "-r not specified for directory $1. Exiting"
- exit 1
- ;;
- esac
- else # is file
- if ! [ -f "$1" ]; then
- [ $verbose -gt 1 ] && echo "File $1 does not exist. Exiting"
- exit 1
- fi
- files="$1"
-
- while [ -f "$2" ]; do
- files="$files\0$2"
- shift
- done
- printf "$files" | xargs -r0 $hash
- fi
- shift
-done
diff --git a/bar/wmip b/misc/wmip
index 56fe23d..56fe23d 100755
--- a/bar/wmip
+++ b/misc/wmip