pCloud filesystem client
To compile, you need fuse and the openssl headers. In debian, they're in libssl-dev and libfuse-dev, in fedora in fuse-devel and openssl-devel.
(sudo) yum install fuse-devel openssl-devel
git clone https://github.com/pcloudfs/pfs.git
cd pfs
make
(sudo) make install
curl https://api.pcloud.com/userinfo?getauth=1&username=<email>&password=<password>
And keep the auth bit.
Create a systemd service
gedit /usr/lib/systemd/system/pfs.service
And paste in:
[Unit]
Description=pCloud mount
[Service]
Type=oneshot
User=<your user>
Group=<your user>
RemainAfterExit=yes
ExecStart=/usr/bin/mount.pfs --auth <you auth token here> /run/media/<your user>/pCloud
ExecStop=/usr/bin/umount /run/media/<your user>/pCloud
[Install]
WantedBy=multi-user.target
Activate it via:
(sudo) systemctl enable pfs.service