chezmoi/bin/executable_record.sh
kjuulh 31d7ef27a8
Add bin/devhamctl
Add bin/docker-traverse.sh
Add bin/exec-sanity.sh
Add bin/lunardev.sh
Add bin/record.sh
Add bin/restart-builds-drone.sh
Add bin/run-dosier.sh
Add bin/sanity.sh
Add bin/scan-for-bad-indexes.sh
Add bin/ssh-agent.sh
Add bin/terraform.sh
Add bin/tmux.sh
Add bin/update-vault.sh
Add bin/zimfwupdate.sh
2023-07-24 12:42:39 +02:00

15 lines
306 B
Bash

#!/bin/bash
# Get the current timestamp
timestamp=$(date +%Y%m%d%H%M%S)
# Construct the filename
filename="recording_$timestamp.cast"
mkdir -p ~/Documents/arecordings
# Start the recording
asciinema rec ~/Documents/arecordings/${filename}
echo "Recording saved to ~/Documents/arecordings/${filename}"