Skip to content

Commit ac2b0e8

Browse files
Readme
1 parent 266eb08 commit ac2b0e8

File tree

1 file changed

+78
-22
lines changed

1 file changed

+78
-22
lines changed

README.md

Lines changed: 78 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -15,32 +15,88 @@ On Ubuntu you can run the following command:
1515
> sudo apt-get install cmake zlib1g-dev libboost-system-dev libboost-program-options-dev libpthread-stubs0-dev libfuse-dev
1616
1717
## Usage
18-
./pcloudcc -h
19-
pCloud console client v.2.0.1
20-
Allowed options:
21-
- -h [ --help ] produce help message.
22-
- -u [ --username ] arg pCloud account name.
23-
- -p [ --password ] arg pCloud account password.
24-
- -c [ --crypto ] arg Crypto password.
25-
- -s [ --passascrypto ] arg Use user password as crypto password also.
26-
- -d [ --daemonize ] Daemonize the process.
27-
- -o [ --commands ] Parent stays alive and processes commands.
28-
- -m [ --mountpoint ] arg Mount point where drive to be mounted.
29-
- -k [ --commands_only ] Daemon already started pass only commands.
30-
31-
If you whant to be able to mount the files system as non root user you will have to create file
32-
/etc/fuse.conf
33-
and put user_allow_other in it.
18+
Terminal command is pcloudcc and -h option prints short options description.
19+
> ./pcloudcc -h
20+
> pCloud console client v.2.0.1
21+
>Allowed options:
22+
> -h [ --help ] produce help message
23+
> -u [ --username ] arg pCloud account name
24+
> -p [ --password ] pCloud account password
25+
> -c [ --crypto ] arg Crypto password
26+
> -y [ --passascrypto ] arg Use user password as crypto password also.
27+
> -d [ --daemonize ] Daemonize the process.
28+
> -o [ --commands ] Parent stays alive and processes commands.
29+
> -m [ --mountpoint ] arg Mount point where drive to be mounted.
30+
> -k [ --commands_only ] Daemon already started pass only commands.
31+
> -n [ --newuser ] Switch if this is a new user to be registered.
32+
> -s [ --savepassword ] Save password in database.
33+
Also there are several commands that the running service can execute. Commands are passed using
34+
> pcloudcc -k
35+
or starting the daemon with -o.
36+
Available commands are : startcrypto <crypto pass>, stopcrypto, finalize, q, quit
37+
- startcrypto <crypto pass> - starts cripto using given password.
38+
- stopcrypto – stops the crypto.
39+
- finalize – stops the running daemon.
40+
- quit, q - exits the current client. Daemon sties alive.
41+
42+
Example usage scenario:
43+
- Start the service manually
44+
> pcloudcc -u [email protected] -p -s
45+
Enter password and use -s switch to save the password. Verify that file system starts and mounts normally. If you don't have existing user use -n switch to register new user:
46+
> pcloudcc -u [email protected] -p -s -n
47+
Notice that a new user may take a while to mount. Please, be patient.
48+
- Start the daemon service:
49+
> pcloudcc -u [email protected] -d
50+
Verify file system is mounted.
51+
- At that point you can test passing some commands.
52+
> pcloudcc -u [email protected] -k
53+
Or starting the daemon with -o. Test unlocking and locking crypto if you have subscription for it.
54+
- Quit the client. Congratulations, your pcloud console client works properly. You can now add “pcloudcc -u [email protected] -d” command in you startup scripts and thous mount the file system on startup.
55+
3456

3557
## Debian
3658
To create a debian package form the source use:
3759
> debuild -i -us -uc -b
3860
3961
## Other distributions
40-
- Binary packages
41-
[pcloudcc-2.0.1-Linux.sh](https://my.pcloud.com/publink/show?code=XZJnzQZCFLB8o9PGEF4wG4sHCWGHHhUw4aV)
42-
[pcloudcc-2.0.1-Linux.tar.gz](https://my.pcloud.com/publink/show?code=XZ0nzQZCzi5PmcxoNhf8b7jR8cnwflRRJlV)
43-
[pcloudcc-2.0.1-Linux.tar.Z](https://my.pcloud.com/publink/show?code=XZoezQZxMTJDHe7LSXy7Xqzzme7ThrQcDly)
44-
[pcloudcc_2.0.1-1_amd64.deb](https://my.pcloud.com/publink/show?code=XZ4nzQZOOG10GPkUSBbHWzgBzdHxVj18E4y)
62+
- Binary packages 64 bit
63+
[pcloudcc-2.0.1-Linux.sh](https://my.pcloud.com/publink/show?code=XZSJfQZ8WLwavzS3mBd3hL2XRF4EH0KNKTX)
64+
[pcloudcc-2.0.1-Linux.tar.gz](https://my.pcloud.com/publink/show?code=XZhJfQZFEVhUfCloBbnxcHq3MBishd2reIy)
65+
[pcloudcc-2.0.1-Linux.tar.Z](https://my.pcloud.com/publink/show?code=XZmJfQZHwRI0Fje0vX3LVndD9EPSXhkwoNk)
66+
[pcloudcc_2.0.1-1_amd64.deb](https://my.pcloud.com/publink/show?code=XZyJfQZtehgkk6mzTuG9zYK5D6skfbo2eS7)
67+
- Binary packages 32 bit
68+
[pcloudcc-2.0.1-Linux_i386.sh](https://my.pcloud.com/publink/show?code=XZzJfQZj1uph6VKtgVWWNFUfuUAN8NeIpE7)
69+
[pcloudcc-2.0.1-Linux_i386.tar.gz](https://my.pcloud.com/publink/show?code=XZpJfQZa1T9rIiIvRyppo78dDcmkSfbSJry)
70+
[pcloudcc-2.0.1-Linux_i386.tar.Z](https://my.pcloud.com/publink/show?code=XZJJfQZEoEjfYVTiDhBxahTgOB6BYSGmKlX)
71+
[pcloudcc_2.0.1-1_i386.deb](https://my.pcloud.com/publink/show?code=XZv5fQZLq6o3mXJjvLkLEjWvFUkLQijEsJy)
4572
- Source
46-
[pcloudcc_2.0.1_Source.tar.gz](https://my.pcloud.com/publink/show?code=XZFnzQZlcxeTHPnqahzlYd0V3oCIXygETq7)
73+
[pcloudcc_2.0.1_Source.tar.gz](https://my.pcloud.com/publink/show?code=XZkJfQZRtCdmBOOkR4fKrbvxqKxujzmM6w7)
74+
75+
76+
pcloudcc_2.0.1-1_amd64.deb
77+
78+
79+
80+
81+
82+
pcloudcc-2.0.1-Linux.sh
83+
84+
85+
pcloudcc-2.0.1-Linux.tar.gz
86+
87+
88+
pcloudcc-2.0.1-Linux.tar.Z
89+
90+
91+
92+
93+
94+
pcloudcc-2.0.1-Linux_i386.tar.gz
95+
96+
97+
98+
99+
100+
pcloudcc-2.0.1-Source.tar.gz
101+
102+

0 commit comments

Comments
 (0)