Linux - one command per day--cp
来源:互联网 发布:布面运动鞋怎么洗 知乎 编辑:程序博客网 时间:2024/06/05 14:42
名称:cp
使用权限:所有使用者
使用方式:
cp [options] source dest
cp [options] source... directory
说明:将一个档案拷贝至另一档案,或将数个档案拷贝至另一目录。
参数:
-a 尽可能将档案状态、权限等资料都照原状予以复制。
-r 若 source 中含有目录名,则将目录下之档案亦皆依序拷贝至目的地。
-f 若目的地已经有相同档名的档案存在,则在复制前先予以删除再行复制。
范例:
将档案 aaa 复制(已存在),并命名为 bbb :
cp aaa bbb
将所有的C语言程序拷贝至 Finished 子目录中 :
cp *.c Finished
使用权限:所有使用者
使用方式:
cp [options] source dest
cp [options] source... directory
说明:将一个档案拷贝至另一档案,或将数个档案拷贝至另一目录。
参数:
-a 尽可能将档案状态、权限等资料都照原状予以复制。
-r 若 source 中含有目录名,则将目录下之档案亦皆依序拷贝至目的地。
-f 若目的地已经有相同档名的档案存在,则在复制前先予以删除再行复制。
范例:
将档案 aaa 复制(已存在),并命名为 bbb :
cp aaa bbb
将所有的C语言程序拷贝至 Finished 子目录中 :
cp *.c Finished
- Linux - one command per day--cp
- Linux-- one command per day--cat
- Linux - one command per day--chatt
- Linux - one command per day--chgrp
- Linux - one command per day--chown
- Linux - one command per day--chmod
- Linux - one command per day--cksum
- Linux - one command per day--cmp
- Linux - one command per day--diff
- Linux - one command per day--cd
- Linux - one command per day--df
- Linux - one command per day--file
- Linux - one command per day--du
- Linux - one command per day--find
- Linux - one command per day--ln
- Linux - one command per day--mkdir
- Linux - one command per day--pwd
- Linux - one command per day--less
- C#演化类及排序
- Android之ListActivity(一):布局与数据绑定
- DirectX 图形接口指南
- python 的decorator
- Monkey 工具之使用
- Linux - one command per day--cp
- 【Android】通过软引用实现图片缓存,防止内存溢出
- GTK+主循环(main loop)的工作原理
- 设计原则(4)-依赖倒转原则
- Linux - one command per day--ln
- C#笔记之----C的数据类型
- [Android实例] OpenGL ES基础教程(一)
- Linux下终端的快捷键及建立打开终端的快捷键(转载)
- 招股书显示Facebook四大潜在威胁:谷歌居首