Skip to content
Permalink
Fetching contributors…
Cannot retrieve contributors at this time
272 lines (202 sloc) 4.34 KB
title review labels toc confluence tree_item_index version_override history
Filesystem Commands
comment date status
2015-12-01
ok
content-review-lts2016
shell
jcarsique
shell-component
content-review-lts2017
true
ajs-parent-page-id ajs-parent-page-title ajs-space-key ajs-space-name canonical canonical_source page_id shortlink shortlink_source source_link
4687648
Nuxeo Shell Command Index
NXDOC
Nuxeo Platform Developer Documentation
Filesystem+Commands
4687654
JodH
/display/NXDOC/Filesystem+Commands
200
LTS 2015 6.0 5.8
710/admindoc/filesystem-commands
60/admindoc/filesystem-commands
58/admindoc/filesystem-commands
author date message version
Solen Guitter
2016-09-01 10:02
13
author date message version
Solen Guitter
2015-08-31 15:03
12
author date message version
Solen Guitter
2014-04-11 10:23
11
author date message version
Florent Guillaume
2014-04-10 13:55
typo
10
author date message version
Florent Guillaume
2012-08-13 12:44
Migrated to Confluence 4.0
9
author date message version
Florent Guillaume
2012-08-13 12:44
8
author date message version
Solen Guitter
2012-05-15 16:09
7
author date message version
Solen Guitter
2012-05-15 15:33
Added related pages
6
author date message version
Solen Guitter
2012-05-15 15:11
Fixed wrong links
5
author date message version
Solen Guitter
2011-03-03 12:31
4
author date message version
Bogdan Stefanescu
2010-11-24 10:09
3
author date message version
Bogdan Stefanescu
2010-11-24 08:32
2
author date message version
Bogdan Stefanescu
2010-11-23 22:19
1

{{#> callout type='info' heading='Namespace: local'}} Commands available on the local file system {{/callout}}

cat

NAME cat – Print the content of a file

SYNTAX

cat [file]

ARGUMENTS

  • file - [optional] -The file to print

cd

NAME cd – Change the local working directory

SYNTAX

cd file

ARGUMENTS

  • file - [required] - A local directory to change to

cp

NAME cp – Copy a file or directory

SYNTAX

cp [options] source destination

OPTIONS

  • -r - [flag] - Recursive copy directories

ARGUMENTS

  • source - [required] - The file to copy
  • destination - [required] - The target file

ls

NAME ls – List file names in a local directory

SYNTAX

ls [file]

ARGUMENTS

  • file - [optional] -A local directory to list its content. Defaults to the working directory

mkdir

NAME mkdir – Create a directory in local file system

SYNTAX

mkdir file

ARGUMENTS

  • file - [required] - The directory path to create

mv

NAME mv – Rename a file or directory

SYNTAX

mv source destination

ARGUMENTS

  • source - [required] - The file to rename
  • destination - [required] - The target file

popd

NAME popd – Pop working directory

SYNTAX

popd

pushd

NAME pushd – Push a new local working directory

SYNTAX

pushd file

ARGUMENTS

  • file - [required] - A local directory to push

pwd

NAME pwd – Print the local working directory

SYNTAX

pwd [options]

OPTIONS

  • -s - [flag] - Use this flag to show the working directory stack

rm

NAME rm – Remove a file or directory

SYNTAX

rm [options] file

OPTIONS

  • -r - [flag] - Recursive remove directories

ARGUMENTS

  • file - [required] - The directory or file to delete

touch

NAME touch – Touch a file

SYNTAX

touch file

ARGUMENTS

  • file - [required] - The file to touch
You can’t perform that action at this time.