Skip to content

Instantly share code, notes, and snippets.

@heikkil
Last active February 16, 2017 07:06
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 heikkil/da9f32c5ddca8391ccab to your computer and use it in GitHub Desktop.
Save heikkil/da9f32c5ddca8391ccab to your computer and use it in GitHub Desktop.
Action script for feh to remove the current image
#!/bin/sh
# ~/bin/feh-remove.sh
DIR=`dirname "$1"`
if [ ! -d $DIR/removed ]; then
mkdir $DIR/removed
fi;
mv "$1" $DIR/removed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment