CloudCross マルチクラウド クライアントは、Linux オペレーティング システム上でファイルとフォルダーの同期を可能にすることを目的としたオープン ソース プロジェクトです。ローカル システムとクラウド プラットフォーム間でファイルとフォルダーを同期できます。ユーザーは、バックアップや同期とは異なり、含めるまたは除外したい特定のものを CloudCross に伝えることができます。どのファイル/フォルダーをローカル ストレージまたはクラウド ストレージに置くかについて利点があります。
CloudCross は、サードパーティのライブラリを一切使用せず、純粋に QT 上で開発されています。サポートするクラウド ストレージは、CloudMail、Google Drive、OneDrive、Dropbox、Yandex Disk です。
ClouCross のその他の機能には、MS-office、Libre、Open Office 形式で作成されたドキュメントを Google ドキュメントに双方向変換する機能などがあります。 Google ドライブ上のファイルの新しいバージョンの管理と作成、クラウドへのファイルのアップロードとダウンロード、ファイルをダウンロードするためのリンクの作成。
CloudCross は、Ubuntu、Redhat、Gentoo、Arch にインストールできます。ここでは他の OS のインストールに Ubuntu を使用しています。リポジトリのインストールについては公式ページを参照してください。リンク
CloudCross GUI が利用できるので、コマンド ライン ターミナルを使用して行う必要があります。
CloudCross Github プロジェクト ページからもプロジェクトをダウンロードできます。誰かがインストールしたり、さらに開発したい場合は。
Linux 用 CloudCross マルチクラウド クライアントのインストールとセットアップ
ステップ 1: Ubuntu システムにアクセスする
ステップ 2: コマンド ターミナルを開きます (CTRL+ALT+T)
ステップ 3: CloudCross は qtbase5 に依存しているため、他の依存関係とともにインストールする必要があります。
使用しているプラットフォームに応じて、以下のコマンドを実行してインストールします。
Ubuntu/Debian/Linux Mintの場合
sudo apt-get install build-essential qt5-default qtbase5-dev qt5-qmake libcurl4-openssl-dev
RPM パッケージャー (Redhat、CentOS、Fedora、Alt Linux) の場合
yum groupinstall 'Development Tools' yum install qt5-qtbase qt5-qtbase-devel curl-devel
Arch Linuxの場合
pacman -S base-devel qt5-base curl
ステップ 4: Redhat、CentOS、Fedora、Alt Linux、Ubuntu/Debian/Linux Mint、またはその他の Linux 用の CloudCross をダウンロードします。
CloudCross プロジェクトは次の場所で入手できます。ギットハブ。ここにありますダウンロードへのリンクCloudCross の圧縮 ZIP ファイル。
ステップ 5: ダウンロード後、以下のコマンドを使用してダウンロード ディレクトリに切り替えます。
cd Downloads
ステップ 6: ダウンロード内に、CloudCross-mastert.zip という名前の ZIP ファイルが表示されます。
次のコマンドを使用して、CloudCross 圧縮フォルダーを解凍します。
unzip CloudCross-master.zip
ステップ 7: CloudCross の解凍フォルダーまたは解凍フォルダーに入ります。
コマンドは
cd CloudCross-master
ステップ 8: CloudCross をコンパイルするビルド ディレクトリを作成します。
これを行うには、以下のコマンドを使用します。
mkdir build
ステップ 9: ビルド ディレクトリに移動します。
cd build
ステップ 10: CloudCross をコンパイルできる状態にします。
以下のコマンドを使用します。
sudo apt-get install qmake qmake ../CloudCross.pro make
上記のコマンドの出力は次のとおりです。
h2s@h2s-VirtualBox:~/Downloads/CloudCross-master$ cd build h2s@h2s-VirtualBox:~/Downloads/CloudCross-master/build$ qmake ../CloudCross.pro h2s@h2s-VirtualBox:~/Downloads/CloudCross-master/build$ make cd MSHttpRequest/ && ( test -e Makefile || /usr/lib/qt5/bin/qmake -o Makefile /home/h2s/Downloads/CloudCross-master/MSHttpRequest/MSHttpRequest.pro ) && make -f Makefile make[1]: Entering directory '/home/h2s/Downloads/CloudCross-master/build/MSHttpRequest' g++ -c -pipe -O2 -std=gnu++11 -Wall -W -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I../../MSHttpRequest -I. -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtNetwork -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs /linux-g++ -o main.o ../../MSHttpRequest/main.cpp g++ -c -pipe -O2 -std=gnu++11 -Wall -W -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I../../MSHttpRequest -I. -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtNetwork -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o mshttprequest.o ../../MSHttpRequest/mshttprequest.cpp
ステップ 12: 上記のコマンドの後に、以下の 2 つのコマンドを実行します。
sudo cp "./ccross-app/ccross" "/usr/bin" sudo cp "./ccross-curl-executor/ccross-curl" "/usr/bin"
ステップ 11: 次に、さまざまなクラウド サービスを CloudCross に接続します。
ご存知のとおり、CloudCross はマルチクラウド クライアントであるため、OneDrive、Google Drive、Dropbox、または Cloud Mail.ru の Yandex Disk などに接続して使用できます。コマンドターミナルを開いて次のコマンドを入力するだけです。ccross -aオプションを構文 –provider [name] とともに使用します。
この例を参照してください。 Google ドライブに接続したいとします。コマンドは次のようになります。
ccross -a --provider google
クラウド プロバイダーを追加すると、コマンド ターミナルの出力としてリンクが表示されます。それをコピーしてブラウザで開きます。
この場合の出力リンク
h2s@h2s-VirtualBox:~/Downloads/CloudCross-master/build$ ccross -a --provider google -------------------------------------Please go to this URL and confirm application credentialshttps://accounts.google.com /ServiceLogin?passive=1209600&continue =https://accounts.google.com/o/oauth2/v2/auth?response_type%3Dcode%26redirect_uri%3D https://127.0.0.1:1973 %26client_id%3D834415955748-oq0p2m5dro2bvh3bu0o5bp19ok3qrs3f .apps.googleusercontent.com%26access_type%3Doffline%26scope%3D https://www.googleapis.com/auth/drive%2Bhttps://www.googleapis.com/auth/userinfo. email%2Bhttps://www.googleapis.com/auth/userinfo.profile%2Bhttps://docs.google.com/ feeds/%2Bhttps://docs.googleusercontent.com/%2Bhttps://spreadsheets. google.com/feeds/%26state%3D1%26approval_prompt%3Dforce%26from_login%3D1%26as%3DDz3gIG vQ634pCd0Ts2WqSA&followup=https://accounts.google.com/o/oauth2/v2/auth?response_type% 3Dcode%26redirect_uri%3Dhttps://127.0.0.1:1973%26client_id%3D834415955748-oq0p2m5dr o2bvh3bu0o5bp19ok3qrs3f.apps.googleusercontent.com%26access_type%3Doffline%26scope% 3Dhttps://www.googleapis.com/auth/drive%2Bhttps://www.googleapis.com/auth/userinfo .email%2Bhttps://www.googleapis.com/auth/userinfo.profile%2Bhttps://docs.google.com /feeds/%2Bhttps://docs.googleusercontent.com/%2Bhttps://spreadsheets.google.com /feeds/%26state%3D1%26approval_prompt%3Dforce%26from_login%3D1%26as%3DDz3gIGv Q634pCd0Ts2WqSA<mpl=nosignup&oauth=1&sarp=1&scc=1 Token was successfully accepted and saved. To start working with the program run ccross without any options for start full synchronize.
ステップ 12: ブラウザでリンクを開く
ブラウザでリンクを開くと、ログインしてクラウド サービスにアクセスするための資格情報が求められます。ユーザー名とパスワードを入力し、CloudCross がクラウド ドライブにアクセスできるようにします。
ステップ 13: CloudCross を使用して PC と Cloud Drive の間でフォルダーを同期する方法
ここで、CloudCross を使用して、PC 上のフォルダーとクラウド ドライブの同期を開始します。まず、そのディレクトリに入り、コマンドを実行しますクロスオプションなしで。そのフォルダーにあるすべてのものを自動的にクラウドにアップロード/ダウンロードします。複数のクラウド サービスを使用している場合は、サービス名をクロス指示。
ステップ 14: CloudCross のコマンド構文の詳細については、以下を使用できます。
ccross --help
CloudCross の公式コマンド使用法ページも参照できます。ページリンク。
help コマンドの出力:
h2s@h2s-VirtualBox:~/Downloads$ ccross --help CloudCross v1.4.4 for Linux is a opensource program for sync local files with a many cloud storages. Options: -h [ --help ] Produce help message -v [ --version ] Display CloudCross version -a [ --auth ] Request authorization token -p [ --path ] arg Path to sync directory --dry-run Only detect which files need to be uploaded/downloaded, without actually performing them. -s [ --list ] Print remote cloud file list --use-include Use .include file. Without this option by default use .exclude file. If these files does'nt exists, they are ignore --prefer arg Define sync strategy. It can be a one of "remote" or "local". By default it's "local" --no-hidden Not sync hidden files and folders --no-new-rev Do not create new revisions of files, overwrite their instead --convert-doc Convert office document to Google Doc format when upload and convert him back when download --force arg Forcing upload or download files. It can be a one of "upload" or "download". This option overrides --prefer option value. --provider arg Set cloud provider for current sync operation. On this moment this option can be a "google", "yandex", "mailru", "onedrive" or "dropbox". Default provider is Google Drive --login arg Set login for access to cloud provider. Now it used only for Cloud Mail.ru --password arg Set password for access to cloud provider. Now it used only for Cloud Mail.ru --http-proxy arg Use http proxy server for connection to cloud provider. <arg> must be in a ip_address_or_host_name:port_number format --socks5-proxy arg Use socks5 proxy server for connection to cloud provider. <arg> must be in a ip_address_or_host_name:port_number format --cloud-space Showing total and free space of cloud --filter-type Filter type for .include and .exclude files. Can be set to "regexp" or "wildcard". Ignored if it set in files --single-thread Run as single threaded --low-memory Reduce memory utilization during reading a remote file list. Using of this option may do increase of synchronization time --empty-trash Delete all files from cloud trash bin. --no-sync If this option is set synchronization mechanism will be disabled and remote file list not be a readed. Local files will be uploaded without consideration of existence of this files on remote. Use with carefully h2s@h2s-VirtualBox:~/Downloads$
このようにして、CloudCross マルチクラウド クライアントを使用して、他のクラウド サービスを含む Linux 上の Google ドライブにアクセスして同期を行うことができます。利用可能な CloudCross GUI インターフェイスを思い出してください。これは純粋に Linux プラットフォーム用のコマンド ベース同期ツールです。
その他の役立つリソース: