Skip to content

Instantly share code, notes, and snippets.

View wsciaroni's full-sized avatar
😀

Will Sciaroni wsciaroni

😀
View GitHub Profile
@wsciaroni
wsciaroni / ingest_photos.sh
Last active January 3, 2025 17:33
This bash script automates the process of securely copying image files from an SD card to a date and time stamped location with optimized network throughput, checksum verification, and a progress bar.
#!/bin/bash
# Function to get the mount point of the SD card
get_sd_card_mount() {
local initial_mounts mounts_after_removal final_mounts added_mounts mount i sd_card_index
# Get initial list of mounts
readarray -t initial_mounts <<< "$(lsblk -o NAME,RM,MOUNTPOINT | grep '1' | awk '$3 != "" {print $3}')"
# Prompt user to remove the SD card
@wsciaroni
wsciaroni / octoprint.log
Created January 21, 2021 17:43
Octoprint Log
This file has been truncated, but you can view the full file.
2021-01-16 17:33:08,166 - octoprint.server.heartbeat - INFO - Server heartbeat <3
2021-01-16 17:33:08,169 - octoprint.server - INFO - --- Log roll over detected ---------------------------------------------------
2021-01-16 17:33:08,169 - octoprint.server - INFO - OctoPrint 1.5.2
2021-01-16 17:33:08,172 - octoprint.plugin.core - INFO - 29 plugin(s) registered with the system:
| Access Anywhere - The Spaghetti Detective (1.4.7) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective
| Action Command Notification Support (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/action_command_notification
| Action Command Prompt Support (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/action_command_prompt
| Announcement Plugin (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/announcements
| !Anonymous Usage Tracking (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/tracking
| Application K