You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
8 lines
228 B
8 lines
228 B
2 years ago
|
#!/bin/sh
|
||
|
$MAILDIR = "$HOME/.local/share/mail/"
|
||
|
|
||
|
cd $MAILDIR
|
||
|
find . -tfype f -name '.??*' -delete
|
||
|
find . -type f -name '*U=*' | { while read f; do mv "$f" "`echo $f | sed -e 's/,U=[0-9]*//'`"; done }
|
||
|
find . -type f -name '*U=*'
|