8 lines
181 B
Plaintext
8 lines
181 B
Plaintext
|
#!/bin/bash
|
||
|
cd ~/.local/share/remmina
|
||
|
ls -1 *.remmina | while read a; do
|
||
|
N=`grep '^name=' "$a" | cut -f2 -d=`;
|
||
|
[ "$a" == "$N.remmina" ] || mv "$a" "$N".remmina;
|
||
|
done
|
||
|
|