customs/scripts/firewirerip.fish
2024-12-01 22:10:03 -05:00

12 lines
316 B
Fish

function firewirerip
echo "reloading kernel module... hold on"
cd ~/Videos
sudo rmmod firewire_ohci
sudo modprobe firewire_ohci quirks=0x10
echo "done. waiting for device..."
while ! test -e /dev/fw1; sleep 1; end
dvgrab -csize 0 -size 0 -showstatus -timestamp -timesys -f raw .dv
end