ITPub博客

首页 > Linux操作系统 > Linux操作系统 > 批量删除指定目录下的sh脚本

批量删除指定目录下的sh脚本

原创 Linux操作系统 作者:zhangsharp20 时间:2015-11-10 10:21:47 0 删除 编辑
[oracle@kf210 ~]$ cat c.sh
cd /u01/app/oracle/admin/QJBJ1DW/dpdump/j1_g3_zbq/01\ init/
rm *
cd /u01/app/oracle/admin/QJBJ1DW/dpdump/j1_g3_zbq/01\ table/
rm *
cd /u01/app/oracle/admin/QJBJ1DW/dpdump/j1_g3_zbq/02\ view/
rm *
cd /u01/app/oracle/admin/QJBJ1DW/dpdump/j1_g3_zbq/04\ procedure/
rm *
cd /u01/app/oracle/admin/QJBJ1DW/dpdump/j1_ldm/01\ init/
rm *
cd /u01/app/oracle/admin/QJBJ1DW/dpdump/j1_ldm/01\ table/
rm *
cd /u01/app/oracle/admin/QJBJ1DW/dpdump/j1_ldm/02\ view/
rm *
cd /u01/app/oracle/admin/QJBJ1DW/dpdump/j1_ldm/04\ procedure/
rm *
cd /u01/app/oracle/admin/QJBJ1DW/dpdump/j1_dw/01\ init/
rm *
cd /u01/app/oracle/admin/QJBJ1DW/dpdump/j1_dw/01\ table/
rm *
cd /u01/app/oracle/admin/QJBJ1DW/dpdump/j1_dw/02\ view/
rm *
cd /u01/app/oracle/admin/QJBJ1DW/dpdump/j1_dw/04\ procedure/
rm *
cd /u01/app/oracle/admin/QJBJ1DW/dpdump/j1_di/01\ init/
rm *
cd /u01/app/oracle/admin/QJBJ1DW/dpdump/j1_di/01\ table/
rm *
cd /u01/app/oracle/admin/QJBJ1DW/dpdump/j1_di/02\ view/
rm *
cd /u01/app/oracle/admin/QJBJ1DW/dpdump/j1_di/04\ procedure/
rm *
cd /u01/app/oracle/admin/QJBJ1DW/dpdump/j1_ldcx/01\ init/
rm *
cd /u01/app/oracle/admin/QJBJ1DW/dpdump/j1_ldcx/01\ table/
rm *
cd /u01/app/oracle/admin/QJBJ1DW/dpdump/j1_ldcx/02\ view/
rm *
cd /u01/app/oracle/admin/QJBJ1DW/dpdump/j1_ldcx/04\ procedure/
rm *
cd /u01/app/oracle/admin/QJBJ1DW/dpdump/j1_cxtj/01\ init/
rm *
cd /u01/app/oracle/admin/QJBJ1DW/dpdump/j1_cxtj/01\ table/
rm *
cd /u01/app/oracle/admin/QJBJ1DW/dpdump/j1_cxtj/02\ view/
rm *
cd /u01/app/oracle/admin/QJBJ1DW/dpdump/j1_cxtj/04\ procedure/
rm *
cd /u01/app/oracle/admin/QJBJ1DW/dpdump/hx_zgxt/02\ view/
rm *
[oracle@kf210 ~]$ 

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/29802484/viewspace-1826712/,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2014-08-12

  • 博文量
    382
  • 访问量
    635114