Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- OLD=$IFS
- IFS=$'\n'
- for file in $(find /sdcard/ -iname "*.mp4")
- do
- am broadcast -a android.intent.action.MEDIA_SCANNER_SCAN_FILE -d "file://$(realpath "$file")"
- echo "[*] add $file "
- done
- IFS=$OLD
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement