linux mv 类型过滤
来源:互联网 发布:阿里云大数据应用学院 编辑:程序博客网 时间:2024/05/18 02:11
我想把文件移入文件夹里面。
[huangxinzhen@localhost cxx]$ find . -type f -exec mv {} t1 \;mv: `./t1/test' and `t1/test' are the same file[huangxinzhen@localhost cxx]$ find . -type f -exec mv {} t1/ \;mv: `./t1/test' and `t1/test' are the same filemv: `./t1/Makefile' and `t1/Makefile' are the same filemv: `./t1/main.c~' and `t1/main.c~' are the same filemv: `./t1/main.o' and `t1/main.o' are the same filemv: `./t1/main.c' and `t1/main.c' are the same filemv: `./t1/tags' and `t1/tags' are the same filemv: `./t1/Makefile~' and `t1/Makefile~' are the same filemv: `./t1/Session.vim' and `t1/Session.vim' are the same file[huangxinzhen@localhost cxx]$ ll t1total 48-rw-------. 1 huangxinzhen huangxinzhen 5009 Mar 8 23:23 main.c-rw-------. 1 huangxinzhen huangxinzhen 5004 Mar 8 23:22 main.c~-rw-rw-r--. 1 huangxinzhen huangxinzhen 4172 Mar 8 23:23 main.o-rw-r--r--. 1 huangxinzhen huangxinzhen 152 Mar 8 23:20 Makefile-rw-r--r--. 1 huangxinzhen huangxinzhen 149 Mar 8 23:18 Makefile~-rw-rw-r--. 1 huangxinzhen huangxinzhen 4022 Mar 8 23:24 Session.vim-rw-r--r--. 1 huangxinzhen huangxinzhen 646 Jul 13 2013 tags-rwxrwxr-x. 1 huangxinzhen huangxinzhen 7484 Mar 8 23:23 test[huangxinzhen@localhost cxx]$ ll移动虽然成功了,可就是出现are the same file,不知道是怎么回事。
0 0
- linux mv 类型过滤
- linux mv
- linux ---- mv
- linux mv
- Linux MV命令
- linux mv 命令详解
- Linux常用命令:mv
- linux的mv命令
- Linux Cp和MV
- Linux mv命令
- linux mv 命令
- Linux mv命令
- linux 剪切命令 mv
- linux命令:mv命令
- linux--mv指令
- Linux命令:mv
- linux mv 命令
- 【linux-命令】 mv
- Socket的原理简析与使用
- HTML5
- 【装linux】用闲置的320G硬盘中的E分区装了Fedora23
- Reflux详解
- perl 安装报错Can't locate Tk.pm
- linux mv 类型过滤
- hihoCoder 树中的最长路
- QT的Paint 系统
- 在Python中调用shell命令及 获取python命令中的参数
- Android消息推送3---xmpp协议
- iOS中XMPP简单聊天实现 好友和聊天
- 广义表的创建与打印
- Qt for Windows:Qt 5.6.0 MinGW 静态编译版本制作
- PythonChallenge Mission 14