bdy sandbox cp
$bdy sandbox cp [options] <source> <destination>
Copy files/directories to sandbox
Examples
## copy file from sandbox to local directory with a new namebdy sb cp sandbox-identifier:/path/to/file /path/to/dir/name$
## if local path file already exists you must replace itbdy sb cp sandbox-identifier:/path/to/file /path/to/dir/name --replace$
## copy file from sandbox INTO local directorybdy sb cp sandbox-identifier:/path/to/file /path/to/dir/$
## if local directory already exists you must merge it or replace itbdy sb cp sandbox-identifier:/path/to/file /path/to/dir/ --merge bdy sb cp sandbox-identifier:/path/to/file /path/to/dir/ --replace$$
## copy directory from sandbox to local directory with a new namebdy sb cp sandbox-identifier:/path/to/dir /path/to/dir$
## if local directory already exists you must replace itbdy sb cp sandbox-identifier:/path/to/dir /path/to/dir --replace$
## copy directory from sandbox INTO local directorybdy sb cp sandbox-identifier:/path/to/dir /path/to/dir/$
## if local directory already exists you must merge it or replace itbdy sb cp sandbox-identifier:/path/to/dir /path/to/dir/ --merge bdy sb cp sandbox-identifier:/path/to/dir /path/to/dir/ --replace$$
## copy local file to sandbox with a new namebdy sb cp /path/to/file sandbox-identifier:/path/to/dir/name$
## copy local file into sandbox directorybdy sb cp /path/to/file sandbox-identifier:/path/to/dir/$
## copy contents of local directory to sandbox directorybdy sb cp /path/to/dir sandbox-identifier:/path/to/dir$
## copy local directory into sandbox directorybdy sb cp /path/to/dir sandbox-identifier:/path/to/dir/$
## upload a directory while ignoring globs (repeat --ignore for multiple patterns)bdy sb cp /path/to/dir sandbox-identifier:/path/to/dir --ignore "node_modules/**" "**/*.log" ".git/**"$