change file name with semicolon by batch
- change file name with semicolon by batch
June 19, 2013
Linux Foundation Events
i have some files come to my server (linx)
these files came with ;1 For example (TTFILE006057;1). the ;1 i don't need it.
so i made a script for it
for i in rename.sh;
do mv "/oracledb/mediation/khaled/TTFILE006057;1" "/oracledb/mediation/khaled/TTFILE006057"
it's working but there is a lot of files with same beginning but with different end.
for example (TTFILEXXXXXX;1) the xxxxxx is changing number.
so can any one modif it please.
and i want this script keep working all time and work as loop.
also i want to add the file name after changeing to another .txt file
EventList powered by schlu.net