1 Check the Linux system architecture
dpkg --print-architecture
2 Download and install (install according to system version)
2.1 Download address
https://github.com/tickstep/aliyunpan/releases
2.2 Select the appropriate version according to the Linux system architecture
arm / armv5 / armv7: for 32-bit ARM systems
arm64: for 64-bit ARM systems
386 / x86: for 32-bit systems, including Intel and AMD CPU systems
amd64 / x64: for 64-bit systems, including Intel and AMD CPU systems
mips : CPUs that are applicable to the MIPS instruction set, such as the domestic Loongson CPU
macOS amd64 is applicable to Intel CPU machines, macOS arm64 is currently mainly applicable to Apple M1 chip machines
iOS arm64 is applicable to iPhone mobile phones, and must be jailbroken mobile phones to run normally
2.3 download
wget https://github.com/tickstep/aliyunpan/releases/download/v0.1.8/aliyunpan-v0.1.8-linux-amd64.zip
2.4 Decompression and installation (in fact, it can be used directly after decompression)
unzip aliyunpan-v0.1.8-linux-amd64.zip
cd aliyunpan-v0.1.8-linux-amd64
3 login
3.1 to the decompressed directory
cd aliyunpan-v0.1.8-linux-amd64
3.2 Enter Alibaba Cloud Disk
./aliyunpan
3.3 Login command
login
3.4 Find RefreshToken
Open the browser at will, log in to the Alibaba network disk in the webpage, then press F12, click Application
, , Local Storage
, token
and refresh_token
find RefreshToken
3.5 For example
3.6 ls network disk to view files
A summary of common commands:
https://github.com/tickstep/aliyunpan/blob/main/docs/manual.md
4 Upload and download data
4.1 Upload data to the network disk
upload <本地文件/目录的路径1> <文件/目录2> <文件/目录3> ... <目标目录>
For example (upload from the work_dirs/hmdb51/hmdb_no_shift folder under Linux to 123/ of the cloud disk)
upload work_dirs/hmdb51/hmdb_no_shift 123/
4.2 (upload is 0B, try the full path)
4.3 Download data to Linux local
download <本地文件/目录的路径1>
For example (download pku_rgb_frames.7z from the cloud disk)
download pku_rgb_frames.7z
5 Log out
logout