Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/sh
- echo "THIS SCRIPT *MUST* BE RUN AS ROOT."
- echo "Raiding Snapchat image cache files..."
- cp /data/data/com.snapchat.android/cache/received_image_snaps/* /sdcard/snpcht/
- echo "Raiding Snapchat video cache files..."
- cp /mnt/sdcard/Android/data/com.snapchat.android/cache/received_video_snaps/* /sdcard/snpcht/
- echo "Removing .nomedia file extension from filenames..."
- cd /mnt/sdcard/snpcht
- for filename in *.nomedia
- do
- echo $filename;
- w_o_ext=`basename $filename .nomedia`;
- echo $w_o_ext;
- mv $filename $w_o_ext;
- done
- echo "Done."
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement