Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
机器未来
Paddle
提交
5e36f57a
P
Paddle
项目概览
机器未来
/
Paddle
与 Fork 源项目一致
Fork自
PaddlePaddle / Paddle
通知
1
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
1
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
P
Paddle
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
1
Issue
1
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
5e36f57a
编写于
5月 14, 2017
作者:
G
gongweibao
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
rm not need files
上级
b2ccc477
变更
6
显示空白变更内容
内联
并排
Showing
6 changed file
with
0 addition
and
185 deletion
+0
-185
doc/design/file_manager/pfs/cp.md
doc/design/file_manager/pfs/cp.md
+0
-45
doc/design/file_manager/pfs/ls.md
doc/design/file_manager/pfs/ls.md
+0
-27
doc/design/file_manager/pfs/mkdir.md
doc/design/file_manager/pfs/mkdir.md
+0
-13
doc/design/file_manager/pfs/mv.md
doc/design/file_manager/pfs/mv.md
+0
-34
doc/design/file_manager/pfs/rm.md
doc/design/file_manager/pfs/rm.md
+0
-32
doc/design/file_manager/pfs/sync.md
doc/design/file_manager/pfs/sync.md
+0
-34
未找到文件。
doc/design/file_manager/pfs/cp.md
已删除
100644 → 0
浏览文件 @
b2ccc477
# Name
cp - copy files
# Synopsis
```
cp [-r] [-f | -n] [-v] [--preserve--links] <LocalPath> <PFSPath>
cp [-r] [-f | -n] [-v] [--preserve--links] <LocalPath> ... <PFSPath>
cp [-r] [-f | -n] [-v] [--preserve--links] <PFSPath> <LocalPath>
cp [-r] [-f | -n] [-v] [--preserve--links] <PFSPath> ... <LocalPath>
cp [-r] [-f | -n] [-v] [--preserve--links] <PFSPath> <PFSPath>
cp [-r] [-f | -n] [-v] [--preserve--links] <PFSPath> ... <PFSPath>
```
# Description
```
The following options are available:
-r
Copy directories recursively
-f
Do not prompt for confirmation before overwriting the destination path. (The -f option overrides previous -n options.)
-n
Do not overwrite an existing file. (The -n option overrides previous -f options.)
-v
Cause cp to be verbose, showing files after they are copied.
--preserve--links
Reserve links when copy links
```
# Examples
-
The following command copies a single file to pfs
```
paddle pfs cp ./text1.txt /pfs/$DATACENTER/home/$USER/text1.txt
```
-
The following command copies pfs file to a local file
```
paddle pfs cp /pfs/$DATACENTER/home/$USER/text1.txt ./text1.txt
```
doc/design/file_manager/pfs/ls.md
已删除
100644 → 0
浏览文件 @
b2ccc477
# Name
ls - list directory(ies)'s contents or file(s)'s attributes
# Synopsis
`ls [-r] <PFSPath> ...`
# Description
```
The following options are available:
-r
List directory(ies) recursively
```
# Examples
-
The following command lists a single file
```
paddle pfs ls /pfs/$DATACENTER/home/$USER/text1.txt
```
-
The following command lists directory contents
```
paddle pfs ls / /pfs/$DATACENTER/home/$USER/folder
```
doc/design/file_manager/pfs/mkdir.md
已删除
100644 → 0
浏览文件 @
b2ccc477
# Name
mkdir - mkdir directory(ies)
# Synopsis
`mkdir <PFSPath> ...`
# Description
Create the pfs directory(ies), if it(they) does(do) not already exist. And create intermediate directories as required.
# Examples
```
paddle pfs mkdir /pfs/$DATACENTER/home/$USER/folder
```
doc/design/file_manager/pfs/mv.md
已删除
100644 → 0
浏览文件 @
b2ccc477
# Name
mv - move (rename) files
# Synopsis
```
mv [-f | -n] [-v] <LocalPath> <PFSPath>
mv [-f | -n] [-v] <LocalPath> ... <PFSPath>
mv [-f | -n] [-v] <PFSPath> <LocalPath>
mv [-f | -n] [-v] <PFSPath> ... <LocalPath>
mv [-f | -n] [-v] <PFSPath> <PFSPath>
mv [-f | -n] [-v] <PFSPath> ... <PFSPath>
```
# Description
```
The following options are available:
-f
Do not prompt for confirmation before overwriting the destination path. (The -f option overrides previous -n options.)
-n
Do not overwrite an existing file. (The -n option overrides previous -f options.)
-v
Cause mv to be verbose, showing files after they are moved.
```
# Examples
-
The following command moves a single file to pfs
```
paddle pfs mv ./text1.txt /pfs/$DATACENTER/home/$USER/text1.txt
```
doc/design/file_manager/pfs/rm.md
已删除
100644 → 0
浏览文件 @
b2ccc477
# Name
rm - remove files or directories
# Synopsis
```
rm [-r] [-v] <PFSPath> ...
```
# Description
```
The following options are available:
-r
remove directories and their contents recursively
-v
Cause rm to be verbose, showing files after they are removed.
```
# Examples
-
The following command deletes a single file:
```
paddle pfs rm /pfs/$DATACENTER/home/$USER/test1.txt
```
-
The following command deletes a directory recursively:
```
paddle pfs rm -r /pfs/$DATACENTER/home/$USER/folder
```
doc/design/file_manager/pfs/sync.md
已删除
100644 → 0
浏览文件 @
b2ccc477
# Name
sync - sync directories. Recursively copies new and updated files from the source directory to the destination.
# Synopsis
```
sync [--preserve--links] [-v] <LocalPath> <PFSPath>
sync [--preserve--links] [-v] <PFSPath> <LocalPath>
sync [--preserve--links] [-v] <PFSPath> <PFSPath>`
```
# Description
```
The following options are available:
--preserve--links
Reserve links when copy links.
-v
Cause sync to be verbose, showing files after their's synchronization is complete.
```
# Examples
-
The following command sync locally directory to pfs.
```
paddle pfs sync ./dir1 /pfs/$DATACENTER/home/$USER/mydir1
```
-
The following command sync pfs directory to local.
```
paddle pfs sync /pfs/$DATACENTER/home/$USER/mydir1 .
```
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录