This is a simple linux console client for pCloud cloud storage.
CMake build system.
On Ubuntu you can run the following command:
sudo apt-get install cmake zlib1g-dev libboost-system-dev libboost-program-options-dev libpthread-stubs0-dev libfuse-dev libudev-dev
sudo apt-get install cmake zlib1g-dev libboost-system-dev libboost-program-options-dev libpthread-stubs0-dev libfuse-dev libudev-dev git
git clone https://github.com/pcloudcom/console-client.git ./console-client/
sudo make install
pcloudcc -u username -p
Terminal command is pcloudcc and -h option prints short options description.
pCloud console client v.2.0.1
-h [ --help ] produce help message
-u [ --username ] arg pCloud account name
-p [ --password ] pCloud account password
-c [ --crypto ] arg Crypto password
-y [ --passascrypto ] arg Use user password as crypto password also.
-d [ --daemonize ] Daemonize the process.
-o [ --commands ] Parent stays alive and processes commands.
-m [ --mountpoint ] arg Mount point where drive to be mounted.
-k [ --commands_only ] Daemon already started pass only commands.
-n [ --newuser ] Switch if this is a new user to be registered.
-s [ --savepassword ] Save password in database.
Also there are several commands that the running service can execute. Commands are passed using
or starting the daemon with -o.
Available commands are : startcrypto , stopcrypto, finalize, q, quit
- startcrypto - starts cripto using given password. - stopcrypto – stops the crypto. - finalize – stops the running daemon. - quit, q - exits the current client. Daemon stays alive.
Example usage scenario:
- Start the service manually
pcloudcc -u [email protected] -p -s
Enter password and use -s switch to save the password.
pcloudcc -u [email protected] -p -s -n
Notice that a new user may take a while to mount. Please, be patient.
pcloudcc -u [email protected] -d
Verify file system is mounted.
At that point you can test passing some commands.
pcloudcc -u [email protected] -k
Or starting the daemon with -o. Test unlocking and locking crypto if you have subscription for it.
To create a debian package form the source use:
debuild -i -us -uc -b