-
-
Save seungjin/72edad8db24a2188b28d4cf2d4552b4d to your computer and use it in GitHub Desktop.
remove duplicated eml in thunderbird maildir
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for file in $(ls | egrep '^.+-[0-9].eml$'); do | |
mv -- "$file" "`echo $file | sed "s/-[0-9].eml$/.eml/"`"; | |
done; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment