#!/bin/sh
cd 'home/usrname/'
ls

cd '/home/usrname/VOC2007/Annotations/'

for file in `ls /home/usrname/VOC2007/Annotations/`
do
echo $file
sed -i '/<?xml version="1.0" ?>/d' $file
done


echo 'all is ok.'

相关文章:

  • 2022-01-31
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-01-01
  • 2022-01-14
猜你喜欢
  • 2021-11-29
  • 2022-12-23
  • 2021-07-29
  • 2021-06-22
  • 2021-07-24
  • 2022-12-23
  • 2021-10-06
相关资源
相似解决方案