user3667: I work in an office with lots of computers, and I am on a different workstation every day. Is there a bitcoin client I can keep on a FireWire/USB drive?
Bitcoin-Qt on Mac leaves all the files in the home directory - the block chain, the wallet, etc. Someone else is going to be using this computer tomorrow! I want to keep all those files, and even the application itself, on a portable drive.

user3667: This is what worked for me on MAC OS 10.6.8 with Bitcoin-Qt 0.8.1-beta.
I'm combining and editing the Pygmy script and Nick ODells answer, there were a few typos.
Also note, I opened the application with right-click >> "Show Package Contents" and then edited the files with the finder, and TextWrangler. No Terminal required!
1) Create new directory in Bitcoin-Qt.app/Contents/Resources and name it data
2) Navigate up a level and then open the MacOS folder
3) In that folder, create a new file called start.sh
4) open that new file in a text editor and write:
#! /bin/sh
dir1=$(cd "$(dirname "$0")"; pwd)
dir=`echo $dir1 | sed 's/"/\\"/g' | tr -d '\n'`
data="$dir/../Resources/data"
"$dir"/Bitcoin-Qt -datadir="$data"

note that the last line contains the name of the only other file in the MacOS folder (Bitcoin-Qt). That's important! Because that is the program that will be executed a the end of the script you just wrote. Also, that fourth line has to link to the 'data' folder we created in step #1
5) Navigate back up a level to Bitcoin-Qt.app/Contents/ and open the file called Info.plist
6) Find the lines that look like this:
<key>CFBundleExecutable</key>
<string>Bitcoin-Qt</string>

Change it to:
<key>CFBundleExecutable</key>
<string>start.sh</string>


user2306: Somebody posted a portable client, but I don't trust them, so I'll show you how to make your own.
Windows guide

Download the windows .zip from bitcoin.org

Unpack it. Go into that directory.

Make a file called launch.txt
Put this in it:
 start bitcoin-qt.exe -datadir=data


Rename it to launch.bat

Make a folder called data


It should look like this. Double-click launch.bat to start it. If files show up in the data folder you made, then you've done things correctly.
Macintosh guide
Download the Mac .dmg from bitcoin.org
Find the Bitcoin-Qt.app file, and copy it to to your flash drive.
Go to Launchpad, type in 'terminal'. Hit enter.
When the terminal comes up, type:
cd /path/to/flash/drive
mkdir data
cd Bitcoin-Qt.app/Content/MacOS
nano start.sh; chmod +x start.sh

Type in:
#!/bin/bash
dir1=$(cd "$(dirname "$0")"; pwd)
dir=`echo $dir1 | sed 's/"/\\"/g' | tr -d '\n'`
data="$dir/../../data"
"$dir"/bitcoin -datadir="$data"

Now hit Ctrl-O, enter, Ctrl-X. You should be back at the terminal.
cd ..
nano Info.plist

Find the lines that look like this:
    <key>CFBundleExecutable</key>
    <string>Bitcoin-Qt</string>

Change it to:
    <key>CFBundleExecutable</key>
    <string>start.sh</string>

Now hit Ctrl-O, enter, Ctrl-X. You should be back at the terminal. Now we just need to give it a better name.
cd ../..
mv Bitcoin-Qt.app BitcoinPortable.app

Try running your BitcoinPortable.app. If you see files show up in the data directory next to it, then you've done things correctly!
Thanks to Pygy for the script
Note: I don't have a Mac, so this is untested.

3667: <p>I work in an office with lots of computers, and I am on a different workstation every day. Is there a bitcoin client I can keep on a FireWire/USB drive?</p>

<p>Bitcoin-Qt on Mac leaves all the files in the home directory - the block chain, the wallet, etc. Someone else is going to be using this computer tomorrow! I want to keep all those files, and even the application itself, on a portable drive.</p>
 3667: <p>This is what worked for me on MAC OS 10.6.8 with Bitcoin-Qt 0.8.1-beta.
I'm combining and editing the <a href="https://stackoverflow.com/questions/733824/how-to-run-a-sh-script-in-an-unix-console-mac-terminal">Pygmy script</a> and Nick ODells answer, there were a few typos.</p>

<p>Also note, I opened the application with right-click >> "Show Package Contents" and then edited the files with the finder, and TextWrangler. No Terminal required!</p>

<p>1) Create new directory in <code>Bitcoin-Qt.app/Contents/Resources</code> and name it <code>data</code></p>

<p>2) Navigate up a level and then open the MacOS folder</p>

<p>3) In that folder, create a new file called <code>start.sh</code></p>

<p>4) open that new file in a text editor and write:</p>

<pre><code>#! /bin/sh
dir1=$(cd "$(dirname "$0")"; pwd)
dir=`echo $dir1 | sed 's/"/\\"/g' | tr -d '\n'`
data="$dir/../Resources/data"
"$dir"/Bitcoin-Qt -datadir="$data"
</code></pre>

<p>note that the last line contains the name of the only other file in the MacOS folder (Bitcoin-Qt). That's important! Because that is the program that will be executed a the end of the script you just wrote. Also, that fourth line has to link to the 'data' folder we created in step #1</p>

<p>5) Navigate back up a level to <code>Bitcoin-Qt.app/Contents/</code> and open the file called <code>Info.plist</code></p>

<p>6) Find the lines that look like this:</p>

<pre><code>&lt;key&gt;CFBundleExecutable&lt;/key&gt;
&lt;string&gt;Bitcoin-Qt&lt;/string&gt;
</code></pre>

<p>Change it to:</p>

<pre><code>&lt;key&gt;CFBundleExecutable&lt;/key&gt;
&lt;string&gt;start.sh&lt;/string&gt;
</code></pre>
 2306: <p><a href="https://bitcointalk.org/index.php?topic=18870.0" rel="noreferrer">Somebody posted a portable client</a>, but I don't trust them, so I'll show you how to make your own.</p>
<h2>Windows guide</h2>
<ol>
<li><p>Download the windows .zip from <a href="http://bitcoin.org/en/download" rel="noreferrer">bitcoin.org</a></p>
</li>
<li><p>Unpack it. Go into that directory.</p>
</li>
<li><p>Make a file called <code>launch.txt</code><br />
Put this in it:</p>
<pre><code> start bitcoin-qt.exe -datadir=data
</code></pre>
</li>
<li><p>Rename it to <code>launch.bat</code></p>
</li>
<li><p>Make a folder called <code>data</code></p>
</li>
</ol>
<p>It should look like <a href="https://imgur.com/Tkmxq0e" rel="noreferrer">this</a>. Double-click <code>launch.bat</code> to start it. If files show up in the data folder you made, then you've done things correctly.</p>
<h2>Macintosh guide</h2>
<p>Download the Mac .dmg from <a href="http://bitcoin.org/en/download" rel="noreferrer">bitcoin.org</a></p>
<p>Find the Bitcoin-Qt.app file, and copy it to to your flash drive.</p>
<p>Go to Launchpad, type in 'terminal'. Hit enter.</p>
<p>When the terminal comes up, type:</p>
<pre><code>cd /path/to/flash/drive
mkdir data
cd Bitcoin-Qt.app/Content/MacOS
nano start.sh; chmod +x start.sh
</code></pre>
<p>Type in:</p>
<pre><code>#!/bin/bash
dir1=$(cd &quot;$(dirname &quot;$0&quot;)&quot;; pwd)
dir=`echo $dir1 | sed 's/&quot;/\\&quot;/g' | tr -d '\n'`
data=&quot;$dir/../../data&quot;
&quot;$dir&quot;/bitcoin -datadir=&quot;$data&quot;
</code></pre>
<p>Now hit Ctrl-O, enter, Ctrl-X. You should be back at the terminal.</p>
<pre><code>cd ..
nano Info.plist
</code></pre>
<p>Find the lines that look like this:</p>
<pre><code>    &lt;key&gt;CFBundleExecutable&lt;/key&gt;
    &lt;string&gt;Bitcoin-Qt&lt;/string&gt;
</code></pre>
<p>Change it to:</p>
<pre><code>    &lt;key&gt;CFBundleExecutable&lt;/key&gt;
    &lt;string&gt;start.sh&lt;/string&gt;
</code></pre>
<p>Now hit Ctrl-O, enter, Ctrl-X. You should be back at the terminal. Now we just need to give it a better name.</p>
<pre><code>cd ../..
mv Bitcoin-Qt.app BitcoinPortable.app
</code></pre>
<p>Try running your BitcoinPortable.app. If you see files show up in the data directory next to it, then you've done things correctly!</p>
<p><a href="https://bitcointalk.org/index.php?topic=16258.0" rel="noreferrer">Thanks to Pygy for the script</a><br />
<em>Note: I don't have a Mac, so this is untested.</em></p>
