<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>TNT Luoma - Latest Comments in SuperDuper Bash Script to Automatically Mount or Unmount a Hard Drive</title><link>http://tntluoma.disqus.com/</link><description></description><atom:link href="https://tntluoma.disqus.com/superduper_bash_script_to_automatically_mount_or_unmount_a_hard_drive/latest.rss" rel="self"></atom:link><language>en</language><lastBuildDate>Tue, 06 Apr 2010 15:18:55 -0000</lastBuildDate><item><title>Re: SuperDuper Bash Script to Automatically Mount or Unmount a Hard Drive</title><link>http://tntluoma.com/shell-scripts/superduper-script-automatic-mount-unmount/#comment-43527440</link><description>&lt;p&gt;nicely written&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Типография</dc:creator><pubDate>Tue, 06 Apr 2010 15:18:55 -0000</pubDate></item><item><title>Re: SuperDuper Bash Script to Automatically Mount or Unmount a Hard Drive</title><link>http://tntluoma.com/shell-scripts/superduper-script-automatic-mount-unmount/#comment-37971949</link><description>&lt;p&gt;Sounds like a good solution!&lt;/p&gt;&lt;p&gt;SuperDuper's developer once told me that the app should mount and&lt;br&gt;unmount the drive itself (assuming it was attached-but-unmounted when&lt;br&gt;SD starts) but I haven't tested that myself.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">TJ Luoma</dc:creator><pubDate>Thu, 04 Mar 2010 09:19:44 -0000</pubDate></item><item><title>Re: SuperDuper Bash Script to Automatically Mount or Unmount a Hard Drive</title><link>http://tntluoma.com/shell-scripts/superduper-script-automatic-mount-unmount/#comment-37969901</link><description>&lt;p&gt;I've been using your script for a while: thanks. However, a few days ago it stopped successfully unmounting the drive being copied to.&lt;/p&gt;&lt;p&gt;I checked, and the line&lt;/p&gt;&lt;p&gt;diskutil unmount "$DRIVE_NAME"&lt;/p&gt;&lt;p&gt;was given the right drive name, but then complained that a completely different partition couldn't be unmounted.&lt;/p&gt;&lt;p&gt;I finally fixed it by changing the line to&lt;/p&gt;&lt;p&gt;disktuil unmount "$DEVICE"&lt;/p&gt;&lt;p&gt;This seems to be authoritative and unambiguous, and works. I expect it should work for others, too, although I'm still not clear why things stopped working.&lt;/p&gt;&lt;p&gt;Thanks,&lt;br&gt;Dan&lt;br&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Daniel Griscom</dc:creator><pubDate>Thu, 04 Mar 2010 08:56:27 -0000</pubDate></item><item><title>Re: SuperDuper Bash Script to Automatically Mount or Unmount a Hard Drive</title><link>http://tntluoma.com/shell-scripts/superduper-script-automatic-mount-unmount/#comment-19816743</link><description>&lt;p&gt;Hrm. I don't know why it requests your password. I used that command specifically because it does &lt;em&gt;not&lt;/em&gt; request my password. Sorry I don't have an answer.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">@luomat</dc:creator><pubDate>Sat, 18 Jul 2009 12:31:20 -0000</pubDate></item><item><title>Re: SuperDuper Bash Script to Automatically Mount or Unmount a Hard Drive</title><link>http://tntluoma.com/shell-scripts/superduper-script-automatic-mount-unmount/#comment-19816742</link><description>&lt;p&gt;Excellent script, thanks. I clone my main drive to a backup in my Mac Pro every evening. Your script will solve a problem I've had for a while where everything's duplicated in 'Launch Services' because OSX finds all the duplicate applications on my clone drive. The only thing I can't solve is that the disk mount requests my password, and therefore I can't leave the automatic clone update to run unattended. Do you have any suggestions for this?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Graham Street</dc:creator><pubDate>Sat, 18 Jul 2009 11:13:00 -0000</pubDate></item><item><title>Re: SuperDuper Bash Script to Automatically Mount or Unmount a Hard Drive</title><link>http://tntluoma.com/shell-scripts/superduper-script-automatic-mount-unmount/#comment-19816741</link><description>&lt;p&gt;a) I don't think my script is necessary. The developer said that SuperDuper will automatically mount/unmount the drive if needed&lt;/p&gt;&lt;p&gt;&lt;br&gt;&lt;/p&gt;&lt;p&gt;b) ~ is a Unix short cut for $HOME &lt;/p&gt;&lt;p&gt;&lt;br&gt;&lt;/p&gt;&lt;p&gt;c) You probably need to get into Terminal and paste this command (including the " marks!) Make sure it is ALL ONE LINE:&lt;/p&gt;&lt;p&gt;&lt;br&gt;&lt;/p&gt;&lt;p&gt;chmod 755 "/Applications/SuperDuper!.app/Contents/Resources/Copy Scripts/&lt;a href="http://unmount-for-superduper.sh" rel="nofollow noopener" target="_blank" title="unmount-for-superduper.sh"&gt;unmount-for-superduper.sh&lt;/a&gt;"&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">@luomat</dc:creator><pubDate>Wed, 08 Jul 2009 17:50:59 -0000</pubDate></item><item><title>Re: SuperDuper Bash Script to Automatically Mount or Unmount a Hard Drive</title><link>http://tntluoma.com/shell-scripts/superduper-script-automatic-mount-unmount/#comment-19816740</link><description>&lt;p&gt;Can you please explain were i will save the file: (&lt;a href="http://mount-for-superduper.sh" rel="nofollow noopener" target="_blank" title="mount-for-superduper.sh"&gt;mount-for-superduper.sh&lt;/a&gt;) &lt;br&gt;in your instructions, you say to save it to: ( ~/bin/ or somewhere else in your $PATH)&lt;br&gt;but were is that.&lt;/p&gt;&lt;p&gt;&lt;br&gt;&lt;/p&gt;&lt;p&gt;What I did is to save it to" (Copy scripts file) inside the Resources of SuperDuper&lt;br&gt;but I am getting this message: Scripts/&lt;a href="http://unmount-for-superduper.sh" rel="nofollow noopener" target="_blank" title="unmount-for-superduper.sh"&gt;unmount-for-superduper.sh&lt;/a&gt;&lt;br&gt;| 05:28:15 PM | Error | sh: /Applications/SuperDuper!.app/Contents/Resources/Copy Scripts/&lt;a href="http://unmount-for-superduper.sh" rel="nofollow noopener" target="_blank" title="unmount-for-superduper.sh"&gt;unmount-for-superduper.sh&lt;/a&gt;: Permission denied&lt;br&gt;Can you please help me.&lt;br&gt;Thank you&lt;br&gt;Louis&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Louis</dc:creator><pubDate>Wed, 08 Jul 2009 17:39:11 -0000</pubDate></item><item><title>Re: SuperDuper Bash Script to Automatically Mount or Unmount a Hard Drive</title><link>http://tntluoma.com/shell-scripts/superduper-script-automatic-mount-unmount/#comment-19816739</link><description>&lt;p&gt;Awesome script! This was exactly what I needed. :)&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Patrick Crowley</dc:creator><pubDate>Sun, 17 May 2009 17:30:06 -0000</pubDate></item><item><title>Re: SuperDuper Bash Script to Automatically Mount or Unmount a Hard Drive</title><link>http://tntluoma.com/shell-scripts/superduper-script-automatic-mount-unmount/#comment-19816738</link><description>&lt;p&gt;OOps.&lt;/p&gt;&lt;p&gt;&lt;br&gt;&lt;/p&gt;&lt;p&gt;My bad. You can simply run this command:&lt;/p&gt;&lt;p&gt;&lt;br&gt;&lt;/p&gt;&lt;p&gt;touch ~/.source&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">@luomat</dc:creator><pubDate>Fri, 08 May 2009 21:26:28 -0000</pubDate></item><item><title>Re: SuperDuper Bash Script to Automatically Mount or Unmount a Hard Drive</title><link>http://tntluoma.com/shell-scripts/superduper-script-automatic-mount-unmount/#comment-19816736</link><description>&lt;p&gt;I get the error:&lt;/p&gt;&lt;p&gt;&lt;br&gt;&lt;/p&gt;&lt;p&gt;| Error | /Users/Fred/&lt;a href="http://mount-drive-for-superduper.sh" rel="nofollow noopener" target="_blank" title="mount-drive-for-superduper.sh"&gt;mount-drive-for-superduper.sh&lt;/a&gt;: line 42: /Users/Fred/.source: No such file or directory&lt;/p&gt;&lt;p&gt;&lt;br&gt;&lt;/p&gt;&lt;p&gt;What is this invisible file? And how can I generate it? Thank you for your help.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Fred</dc:creator><pubDate>Fri, 08 May 2009 16:10:56 -0000</pubDate></item><item><title>Re: SuperDuper Bash Script to Automatically Mount or Unmount a Hard Drive</title><link>http://tntluoma.com/shell-scripts/superduper-script-automatic-mount-unmount/#comment-19816735</link><description>&lt;p&gt;You'd probably also want to make sure that the drive name is unique, so you don't get it mounting with a trailing number that may not correspond to the script.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Scott A</dc:creator><pubDate>Fri, 06 Mar 2009 15:58:47 -0000</pubDate></item></channel></rss>