2010-detection-doublons/unhide.sh

4 lines
127 B
Bash
Executable File

#!/bin/bash
find "$@" -depth -name '.%*' | while read ab; do aa="${ab##*/}"; mv -i "$ab" "${ab%/*}/${aa#.%}"; echo -n .; done