File: remove_IMEI.sh

package info (click to toggle)
libsyncml 0.5.4-2.1
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 3,276 kB
  • sloc: ansic: 38,414; xml: 355; makefile: 71; sh: 50
file content (9 lines) | stat: -rw-r--r-- 125 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
#!/bin/bash
#

for f in *xml
do
	echo "processing File $f"
	sed -i -r -e "s/IMEI:[0-9]{15}/IMEI:123456789012345/g"  $f
done