11 lines · 185 B · Shell
RawDownload
#!/bin/bash# SPDX-License-Identifier: GPL-2.0 i=0file=/dev/media$1 while :; do  echo $file  i=$((i+1))  R=$(./media_device_open -d $file); # clear  echo -e "Loop $i\n$R" done