Unlock & Lock
By default, GDA tracks files as read-only symlinks to content-stored blobs. Some data processing pipelines need write access to files.
Unlock
Section titled “Unlock”Materializes a symlink into a writable copy:
gda unlock sub-01/meg/run.fifAfter unlock, you can edit the file normally.
Re-hashes the unlocked file, stores a new object if changed, and replaces it with a symlink:
gda lock sub-01/meg/run.fifIf the content changed, GDA creates a new object (new hash). The old object remains in the store for previous snapshots.
Checking Status
Section titled “Checking Status”gda status shows unlocked files:
unlocked 496.0 KB sub-01/meg/run.fif modified 512.0 KB sub-02/beh/data.csvunlocked= writable copy, content matches stored hashmodified= writable copy, content differs from stored hash
Locking All Unlocked Files
Section titled “Locking All Unlocked Files”gda lock $(gda status | grep unlocked | awk '{print $3}')