Skip to content

Instantly share code, notes, and snippets.

@toc21c
Last active January 8, 2016 12:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save toc21c/f4cdfb07a968e6a79591 to your computer and use it in GitHub Desktop.
Save toc21c/f4cdfb07a968e6a79591 to your computer and use it in GitHub Desktop.
Nautilus-Script for recreate thumbnail
#!/bin/bash
BAKIFS=$IFS #internal filed separator
IFS=$'\n'
rm -rf ~/.cache/thumbnails/fail
for FILE in $NAUTILUS_SCRIPT_SELECTED_FILE_PATHS; do
touch -m "$FILE"
done
IFS=$BAKIFS
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment