Offlinefs
The OFS (Offline FileSystem or Ohm FileSystem) is a offline-layer which is (or should be) able to extend every filesystem with offline capabilities.
Install / Use
/learn @darkdragon-001/OfflinefsREADME
Offline File System (OFS)
State
Offline File System is still in alpha state and not very stable.
Fork of http://offlinefs.sourceforge.net/
Building
Required packages
sudo apt-get install cmake pkg-config g++ libfuse-dev libattr1-dev attr libconfuse-dev libdbus-1-dev
Optional packages for documentation
sudo apt-get install doxygen graphviz texlive-extra-utils
Compilation
mkdir build
cd build
cmake ..
make
sudo make install
sudo ldconfig
Usage
Mount
sudo mount -t ofs fstype://server/share /some/mountpoint
Make folders available offline
setfattr -n ofs.offline /path/to/directory
Go offline
setfattr -x ofs.available /mnt
Go online
setfattr -n ofs.available /mnt
Find conflicts
getfattr -n ofs.conflict /mnt
getfattr -n ofs.conflict /mnt/*
Resolve Conflicts
setfattr -n ofs.conflict -v=local /path/to/conflicted/file
setfattr -n ofs.conflict -v=remote /path/to/conflicted/file
