mega-cmd 도구를 설치했습니다https://www.synology.com/en-uk/dsm/packages/MEGAcmd쉘에서 사용했지만 원격 디렉토리를 나열할 수 없습니다. Synology NAS에 mega-cmd를 설치하고 ssh를 통해 CLI에서 사용했습니다.
나는 이미 해당 버전을 설치했습니다 MEGAcmd version: 1.4.0.0: code 1040000
. 바라보다:
$ mega-cmd
mega-cmd
.======================================================================================================================================================================================.
| __ __ _____ ____ _ _ |
| | \/ | ___|/ ___| / \ ___ _ __ ___ __| | |
| | |\/| | \ / | _ / _ \ / __| '_ ` _ \ / _` | |
| | | | | /__\ |_| |/ ___ \ (__| | | | | | (_| | |
| |_| |_|____|\____/_/ \_\___|_| |_| |_|\__,_| |
| |
| Welcome to MEGAcmd! A Command Line Interactive and Scriptable |
| Application to interact with your MEGA account. |
| Please write to [email protected] if you find any issue or |
| have any suggestion concerning its functionalities. |
| Enter "help --non-interactive" to learn how to use MEGAcmd with scripts. |
| Enter "help" for basic info and a list of available commands. |
`======================================================================================================================================================================================´
[Initiating server in background. Log: /var/services/homes/<user>/.megaCmd/megacmdserver.log]
<user>:/$ ls https://mega.nz/folder/Jw9ClZ7L#a8vWwpJTWC3l1km3PGmzIg
[API:err: 21:56:28] Couldn't find https://mega.nz/folder/Jw9ClZ7L#a8vWwpJTWC3l1km3PGmzIg
<user>:/$ version
MEGAcmd version: 1.4.0.0: code 1040000
<user>:/$
왜 그런 겁니까?
링크https://mega.nz/folder/Jw9ClZ7L#a8vWwpJTWC3l1km3PGmzIg결과적으로 자격 증명 없이 공개 디렉터리가 문제 없이 나열됩니다.
답변1
해결되었습니다. 다음을 사용하여 로그인해야 합니다.
logout
login https://mega.nz/folder/Jw9ClZ7L#a8vWwpJTWC3l1km3PGmzIg
ls
그 다음에는 작품이 있습니다 .