psdlag-agn/scripts/fix_thor_names.sh

20 lines
514 B
Bash
Raw Normal View History

#!/usr/bin/env bash
for analysis in analyses/*A_*
do
if [[ $analysis == "analyses/*A_*" ]]; then continue; fi
echo Restoring unicode characters to $analysis.
new_name=$(basename $analysis|
#sed 's|_\([0-9]\+\)|\(𝛌=\1|g'|
sed 's|_|≺|'|
sed 's|_|{|'|
sed 's|_|;|'|
#sed 's|_|}|'|
sed 's|A|Å|'|
sed 's|A|Å_|'|
sed 's|≺|_≺_|'|
sed 's|Δt|Δt|'|
sed 's|err|σ∊|')}
mv $analysis analyses/$new_name
2016-07-26 17:21:25 +00:00
done