Replacing characters in file names?
First time post please bear with me. I'm using a SUSE 10.1 Beta install and a FirstClass (email) client to back up messages and attachments. The FirstClass Linux 8.090 version has a lot better export functionality in some areas than the Windows counterpart and I'm hoping to use it as a good intro to Linux for some of the Windows oriented people here. I have a problem with the way FirstClass exports and I was hoping someone might be able to help me think through the solution.
Firstclass exports email messages to RTF files. The name of the generated files contain the email address in quotes: “blipdy Blop”37.rtf for instance.
Any help would be appreciated! TIA!
if you just want to strip out quotes use something like this:
for FILE in $(ls -1 *.rtf); do
NEWFILE=$(echo $FILE | sed 's/"//g')
mv $FILE $NEWFILE
If that isn't quite what you want then reply & I'll fine tune it for you. SG
|All times are GMT -5. The time now is 01:38 PM.|