web-dev-qa-db-ja.com

MacまたはLinuxのオフラインファイル

[〜#〜]注[〜#〜]:これは私の前の質問を完全に書き直したものです。それらは関連していますが、重複していません。

Windowsオフラインファイル 機能に相当するMac(またはLinux)を探しています。 NAS)に常に接続できないため、ネットワークストレージにあるファイルのローカルコピーをいくつか保持したいと考えています。ただし、ファイルが確実に同期されるようにしたいと思います。ドライブに再び接続するとすぐに(そしてそれ以降に同期させたい)。

この機能を使用すると、ハードドライブ全体ではなく、外付けハードドライブからいくつかのフォルダをコピー(キャッシュ)できることに注意してください。

そんなことはありますか?

2
notnoop

Unison を試してください。

Unisonは、UnixおよびWindows用のファイル同期ツールです。それは可能にします
保存されるファイルとディレクトリのコレクションの2つのレプリカ
異なるホスト(または同じホスト上の異なるディスク)、変更
個別に、その後、変更を伝播することによって最新の状態にします
各レプリカを他のレプリカに。

同期するディレクトリを指定できます。これらはキャッシュするフォルダになります。同期の方向を細かく制御することもできます。ドライブに接続しても自動実行されません。実行するLinuxディストリビューションと、リモートドライブへの接続方法に応じて、自分でトリガーする必要があります。たとえば、mountコマンドを使用する場合は、マウント後にunisonを呼び出すスクリプトでラップします。 Ubuntuコミュニティのドキュメントサイトに簡単な write-up の使用方法があります。

Unisonは、同じ名前のGUIも備えたコマンドラインツールです。 Ubuntuを使用している場合、両方のパッケージがユニバースに含まれていますが、デフォルトではインストールされていません。

$ Sudo apt-get install unison unison-gtk

Macでもポート(Fink、Macportsなど)を介して利用できます。

特徴:

 * Unison runs on both Windows (95, 98, NT, 2k, and XP) and Unix
   (OSX, Solaris, Linux, etc.) systems. Moreover, Unison works across
   platforms, allowing you to synchronize a Windows laptop with a
   Unix server, for example.
 * Unlike a distributed filesystem, Unison is a user-level program:
   there is no need to modify the kernel or to have superuser
   privileges on either Host.
 * Unlike simple mirroring or backup utilities, Unison can deal with
   updates to both replicas of a distributed directory structure.
   Updates that do not conflict are propagated automatically.
   Conflicting updates are detected and displayed.
 * Unison works between any pair of machines connected to the
   internet, communicating over either a direct socket link or
   tunneling over an encrypted ssh connection. It is careful with
   network bandwidth, and runs well over slow links such as PPP
   connections. Transfers of small updates to large files are
   optimized using a compression protocol similar to rsync.
 * Unison has a clear and precise specification, described below.
 * Unison is resilient to failure. It is careful to leave the
   replicas and its own private structures in a sensible state at all
   times, even in case of abnormal termination or communication
   failures.
 * Unison is free; full source code is available under the GNU Public
   License.
2
nagul

FileSync Macintoshでやりたいことを実行します。

2
Richard Hoskins

私は、双方向のファイル共有のためのクロスプラットフォームソリューションであるifolderで大きな成功を収めました。安定しているようです。そのクライアントサーバーソリューション。

また、 http://offlinefs.sourceforge.net/wiki/ を見ることができます。私はこれを試していませんが、面白そうです。

1
Simon

これは完全にあなたが求めていたものではありませんが、具体的に何を達成したいかによっては、 Subversion などのバージョン管理システムの使用を検討することをお勧めします。ファイルは自動的に同期されませんが、バージョン履歴やその他の優れた機能が返されます。

0
LKM