Cyberduck Mountain Duck CLI

#180 closed enhancement (fixed)

Portable Cyberduck

Reported by: Gand Owned by: dkocher
Priority: normal Milestone: 2.5.5
Component: core Version: 2.5.4
Severity: normal Keywords:
Cc: Architecture:


Add a way to set the preference folder path so that, running Cyberduck via script, can be opened on an external drive (USB thumb, etc) taking all settings with you. A portable app is launched via a script that set the prefernce folder path to the portable drive and then open the app. Have a look at Adium script or AbiWord script to easy understand how it work. This was inspired by All OS X portable apps are here.

Change History (7)

comment:1 Changed on Feb 1, 2006 at 5:58:30 PM by dkocher

  • Milestone set to 2.5.5
  • Status changed from new to assigned

comment:2 Changed on Feb 2, 2006 at 6:52:22 PM by anonymous

  • Resolution set to fixed
  • Status changed from assigned to closed

comment:3 Changed on Feb 3, 2006 at 1:47:24 PM by dkocher

  • Resolution fixed deleted
  • Status changed from closed to reopened

Must also find a way to save the ~/Library/Preferences/ch.sudo.cyberduck.plist at a alternate location.

comment:4 Changed on Feb 6, 2006 at 10:53:42 PM by Gand

By the moment, quite all Portable apps use ~/Library/Preferences/*.plist on HD.

comment:5 Changed on Feb 7, 2006 at 8:58:26 AM by dkocher

But that defeats the idea of a portable application.

comment:6 Changed on Feb 10, 2006 at 3:55:41 PM by dkocher

One can set the property; this is where Cyberduck will save its History, Queue items and bookmarks. This is by default ~/Library/Application Support/Cyberduck.

defaults write ch.sudo.cyberduck "/Volumes/Movable Disk/Something"

There is still no solution for the general Preferences in ~/Library/Preferences/.

comment:7 Changed on Feb 13, 2006 at 1:49:50 PM by dkocher

  • Cc added
  • Resolution set to fixed
  • Status changed from reopened to closed

Ignore the above instructions. Info.plist of must now have (or similar)

	<string>/Volumes/Movable Disk/Cyberduck/Preferences</string>
	<string>/Volumes/Movable Disk/Cyberduck/Preferences/Preferences.plist</string>

You can also write these settings using the defaults command (use an absolute pathname to refer to the Info.plist and omit the plist extension)

defaults write "/Volumes/Movable Disk/" "/Volumes/Movable Disk/Cyberduck/Preferences"
defaults write "/Volumes/Movable Disk/" application.preferences.path "/Volumes/Movable Disk/Cyberduck/Preferences/Preferences.plist"
Note: See TracTickets for help on using tickets.