configuration/config/ranger/clear_tags.sh

14 lines
185 B
Bash

#!/usr/bin/bash
if [ ! -e "/mnt/memoria/" ]; then
echo "No memoria"
exit 1
fi
cat ./tagged | while read file; do
if [ -e "$file" ]; then
echo "$file"
fi
done