Friday, September 23, 2016

Amazon Cloud Drive


mount on Debian:

apt-get install aptitude

cd /root/.cache/acd_cli/

nano oauth_data

aptitude update

aptitude upgrade

nano /etc/apt/sources.list

aptitude upgrade

aptitude update

python3 -V

aptitude install python3

pip3 install --upgrade git+https://github.com/yadayada/acd_cli.git

aptitude install python3-pip

pip3 install --upgrade git+https://github.com/yadayada/acd_cli.git

aptitude install git

pip3 install --upgrade git+https://github.com/yadayada/acd_cli.git

acd_cli sync

acd_cli sync

acd_cli ls

cd /mnt/

mkdir acd

nano /etc/fstab

nano /usr/bin/acdmount

chmod +x /usr/bin/acdmount

mount -a

df

acdmount

acdmount /mnt/acd

nano /usr/bin/acdmount

acd_cli mount /mnt/acd

nano /usr/bin/acdmount

mount -a

/usr/bin/acdmount

acd_cli mount /mnt/acd

cd /mnt/acd

cd ..

acd_cli umount /mnt/acd

No such file or directory: 'fusermount'

apt-get install fuse-utils

apt-cache search fuse

df

umount /mnt/acd

df

acd_cli mount /mnt/acd

df

umount /mnt/acd

nano /etc/fstab

nano /etc/fstab

crontab -e

/usr/local/bin/acd_cli mount /mnt/acd

df

umount /mnt/acd

df

/usr/local/bin/acd_cli mount /mnt/acd

df

umount /mnt/acd

reboot

df

df

cd /mnt/acd/

ls

cd /tmp/

df

df -h

dd if=/dev/zero of=1g.img bs=1 count=0 seek=1G

ls -lah

nano 1g.img

cd /tmp/

ls

cp 1g.img /mnt/acd/Test/

cp 1g.img /mnt/acd/Test/356

mv 1g.img /mnt/acd/Test/356

nano perro

cp perro /mnt/acd/Test/

df

df -h

cd /boot/

ls -lah

acd_cli upload /tmp/1g.img /Test/

No comments: