Advertisement
Guest User

Untitled

a guest
May 11th, 2013
338
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. #!/bin/sh
  2. echo "THIS SCRIPT *MUST* BE RUN AS ROOT."
  3. echo "Raiding Snapchat image cache files..."
  4. cp /data/data/com.snapchat.android/cache/received_image_snaps/* /sdcard/snpcht/
  5. echo "Raiding Snapchat video cache files..."
  6. cp /mnt/sdcard/Android/data/com.snapchat.android/cache/received_video_snaps/* /sdcard/snpcht/
  7. echo "Removing .nomedia file extension from filenames..."
  8. cd /mnt/sdcard/snpcht
  9. for filename in *.nomedia
  10. do
  11. echo $filename;
  12. w_o_ext=`basename $filename .nomedia`;
  13. echo $w_o_ext;
  14. mv $filename $w_o_ext;
  15. done
  16. echo "Done."
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement