copy files to special directory.
来源:互联网 发布:极光网络有魔戒世界吗 编辑:程序博客网 时间:2024/04/29 02:33
find 3G_LOG/ -type d | awk -F/ '{if($2 != "" ) print $1"/"$2}' | uniq
$ find 3G_LOG/ -type d
3G_LOG/
3G_LOG/dataM
3G_LOG/dataM/Debug
3G_LOG/dataM/Release
3G_LOG/Driver
3G_LOG/Driver/Debug
3G_LOG/Driver/Release
3G_LOG/MainFrame
3G_LOG/MainFrame/Debug
3G_LOG/MainFrame/Debug/Debug
3G_LOG/MainFrame/Debug/Release
3G_LOG/MainFrame/Debug/result
3G_LOG/MainFrame/Release
3G_LOG/MainFrame/res
3G_LOG/MainFrame/result
3G_LOG/TestMethods
3G_LOG/TestMethods/Debug
3G_LOG/TestMethods/Debug/Debug
3G_LOG/TestMethods/Release
3G_LOG/usbtest
3G_LOG/usbtest/Debug
3G_LOG/usbtest/Debug/Debug
3G_LOG/usbtest/Debug/Release
3G_LOG/usbtest/header
3G_LOG/usbtest/header/Debug
3G_LOG/usbtest/header/Release
3G_LOG/usbtest/Release
$find 3G_LOG/ -type d | awk -F/ '{if($2 != "" ) print $1"/"$2}'
3G_LOG/dataM
3G_LOG/dataM
3G_LOG/dataM
3G_LOG/Driver
3G_LOG/Driver
3G_LOG/Driver
3G_LOG/MainFrame
3G_LOG/MainFrame
3G_LOG/MainFrame
3G_LOG/MainFrame
3G_LOG/MainFrame
3G_LOG/MainFrame
3G_LOG/MainFrame
3G_LOG/MainFrame
3G_LOG/TestMethods
3G_LOG/TestMethods
3G_LOG/TestMethods
3G_LOG/TestMethods
3G_LOG/usbtest
3G_LOG/usbtest
3G_LOG/usbtest
3G_LOG/usbtest
3G_LOG/usbtest
$ find 3G_LOG/ -type d | awk -F/ '{if($2 != "" ) print $1"/"$2}' | uniq
3G_LOG/dataM
3G_LOG/Driver
3G_LOG/MainFrame
3G_LOG/TestMethods
3G_LOG/usbtest
$ find 3G_LOG/ -type d | awk -F/ '{if($2 != "" ) print $1"/"$2}' | uniq | awk '{print $0"/"$f}'
3G_LOG/dataM/
3G_LOG/Driver/
3G_LOG/MainFrame/
3G_LOG/TestMethods/
3G_LOG/usbtest/
$ find 3G_LOG/ -type d | awk -F/ '{if($2 != "" ) print $1"/"$2}' | uniq | awk '{print $0"/"}' | xargs -i cp printlog.* {}
将printlog.* 拷贝到目录
3G_LOG/dataM/
3G_LOG/Driver/
3G_LOG/MainFrame/
3G_LOG/TestMethods/
3G_LOG/usbtest/
- copy files to special directory.
- copy.py(copy files from one directory to another directory and rename)
- batch process in Dos to copy files
- Using netcat to copy files between servers
- the working copy"" failed to commit files.
- The working copy "" failed to commit files
- The working copy “***” failed to commit files.
- Copy Directory
- Java Iterate directory to find files and edit
- How to load all files from directory using JQuery ?
- ERROR: Failed to allocate directory watch: Too many open files
- cpio - archiver to copy and back up files
- How to Copy ASM Files Across Nodes [ID 1147859.1]
- make and build package, copy files to dest dir
- The working copy "MyPro" failed to commit files.
- Using tar and ssh to efficiently copy files preserving permissions
- The working copy"XXX" failed to commit files
- the working copy"工程名" failed to commit files.
- 博百优誓死推荐的博客-----幸福猪之家--关于幸福小猪的情感故事
- 【ASP.NET Chart】MSChart图片保存到硬盘
- AJAX 概况
- BingMaps学习笔记(一):控制自己加载瓦片地图显示区域和缩放级数
- MFC改变鼠标指针
- copy files to special directory.
- stl list.remove_if使用
- C++初学者指南 第七篇(11)
- Flex处理返回的DataSet
- ArcEngine根据点集ringclass,生成多边形polygon
- 图解VS2010下WCF Service与客户端交互的方法
- 利用VTD-XML剪切、粘贴、分割以及合并XML文档
- 怎样理解LR的pacing和think time
- c# GDI+简单绘图