mega-cp /folder1 /folder2
`mega-cp` is a command-line tool for interacting with the MEGA cloud storage service. It's used to copy files and directories to and from your MEGA account.
To use the command `mega-cp /folder1 /folder2`, you would typically be dealing with two folders:
- `/folder1`: This is the source folder, which could be either on your local machine or in your MEGA account, depending on how the command is framed.
- `/folder2`: This is the destination folder, which is where you want to copy the contents of `/folder1`.
### If `/folder1` is local and `/folder2` is a MEGA directory:
The command would copy all contents of the local folder `/folder1` to the MEGA folder `/folder2`. You would need to ensure you are properly authenticated to your MEGA account before running the command.
### If both folders are on MEGA:
If both folders are in your MEGA account, the command would copy the contents of `/folder1` to `/folder2` on MEGA.
### Example Usage:
1. **Copy from local to MEGA:**
```bash
mega-cp /path/to/local/folder1 /path/to/mega/folder2
```
2. **Copy from MEGA to local:**
```bash
mega-cp /path/to/mega/folder1 /path/to/local/folder2
```
3. **Copy between MEGA folders:**
```bash
mega-cp /path/to/mega/folder1 /path/to/mega/folder2
```
### Important Notes:
- Make sure you have MEGA's CLI tool installed and configured with your account credentials.
- You may want to check the commands available with `mega-cp --help` for more options and flags, such as `--recursive` for copying directories recursively or `--overwrite` if you want to specify how to handle existing files.
Always check for potential data size limitations and network availability, especially when transferring large amounts of data.


