Sha256: ce89510932dc11f5c736a45f834230d2e10241cfb204b8c3b52d78f5c739f23d

Contents?: true

Size: 315 Bytes

Versions: 3

Compression:

Stored size: 315 Bytes

Contents

#!/bin/bash

DIR=${1:-.}

#echo "# Mancano ancora le parentesi tonde e quadre)"
echo "#Looking for filenames with special characters for dir: '$DIR'..." >&2
find "$DIR" | while read x; do 
	y=$( echo $x | sed -e 's/[a-zA-Z0-9@ ()./_-]//g' ) 
	if echo $y | egrep -qv '^$' ; then 
		yellow "'$x' --> '$y'"; 
	fi
done

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
sakuric-2.1.3 bin/find-special-chars-within-filenames
sakuric-2.0.3 bin/find-special-chars-within-filenames
sakuric-2.0.1 bin/find-special-chars-within-filenames