Skip to content

Instantly share code, notes, and snippets.

#!/bin/bash
# Get a list of all volumes
volumes=$(podman volume ls -q)
#get timestamp for unique filename
timestamp=$(date +"%Y%m%d%H%M%S")
# Pause all running containers
echo "Pausing containers for backup"
podman pause $(podman ps -q)
@Nitrousoxide
Nitrousoxide / jnc-add.sh
Created March 13, 2022 04:24 — forked from precurejunkie/jnc-add.sh
Wrapper utilities for https://github.com/gvellut/jncep to make it easier to use
#!/bin/bash
# Put your username and password in this file:
. ~/.jncep/credentials
# in the following format: (without the # in front)
# EMAIL=you@example.tld
# PASSWORD='password'
# This will download everything that exists in the series you point it at, assuming
# they haven't expired, consolidating parts by volume into single epubs if