Copy files and directories.
Synopsis
cp [OPTION]... SOURCE... DEST
Description
Copy files and directories. Runs in the just-bash WASM shell inside SLICC.
Options
-r, -R, --recursive Copy directories recursively.
-n, --no-clobber Do not overwrite an existing file.
-v, --verbose Explain what is being done.
--help Display help and exit.
Examples
$ cp file.txt backup.txt
Copy a file.
$ cp -r src/ src-backup/
Recursively copy a directory.
Notes
Operates on the SLICC virtual filesystem (LightningFS/IndexedDB).
See Also
mv, rm, mkdir, ln