JZTXT
  • 首页
  • Ai
  • Java
  • Python
  • Android
  • Mysql
  • JavaScript
  • Html
  • CSS

find

发布时间 2023-09-20 09:00:27作者: 小鲨鱼2018

 

[root@pc1 test2]# ls
a.txt  b.csv  c.ped  test_dir
[root@pc1 test2]# ls test_dir/
[root@pc1 test2]# find ./ -name "*.txt" -o -name "*.ped" -exec cp {} test_dir/ \;
[root@pc1 test2]# ls test_dir/
c.ped
[root@pc1 test2]# rm test_dir/*
[root@pc1 test2]# ls test_dir/
[root@pc1 test2]# find ./ \( -name "*.txt" -o -name "*.ped" \) -exec cp {} test_dir/ \;
[root@pc1 test2]# ls test_dir/
a.txt  c.ped

 。

    本栏目推荐文章
  • find
  • find命令的时间参数
  • android编译kanzi 问题 (1) Caused by: java.io.FileNotFoundException: Error: Could not find or access Kanzi's Android libraries directory: C:\XXXXXXX
  • ubuntu 18.04.6 编译内核kernel提示 Can't find default configuration "arch/x86/configs/socfpga_deconfig"!
  • find 命令笔记
  • 鸿蒙开发 ERROR: Failed to find the incremental input file: C:\Users\admin\.ohos\config\auto_debug_MyApplication2_com.example.myapplication2_2850086000448618441.cer.
  • [LeetCode] 1979. Find Greatest Common Divisor of Array
  • 源码学习 出现彻底解决unable to find valid certification path to requested target
  • Matlab 之 find()函数
  • 富文本编辑器wangEdiotr,编辑表格后,重新打开组件报错Error in callback for watcher “value“: “Error: Cannot find a descenda(json爆红)
版权声明:本网站为非赢利性站点,本网站所有内容均来源于互联网相关站点自动搜索采集信息,相关链接已经注明来源。
联系我们