Today I had to reinstall Bootcamp, and thus create a new Windows partition.
Trying the Bootcamp setup wizard, I got the same error as I had before – “Your disk cannot be partitioned because some files cannot be moved”.
I tried to Zero-Out-Data, overwriting all deleted data on the disk with 0’s. Yet this did not seem to solve the problem.
After deleting some big files, like my heroes & 24 episodes, I tried again. Still nothing.
I then remembered I had WoW Wrath of the Lich King installed (7ish Gb). Deleting the WoW folder and trying again, did solve the problem. I didn’t even have to zero-out-data again.
So, basicly, deleting big files (folders?!) seems to solve the problem too.
I recently started to use Namely but having its icon in my dock was quite annoying (like to keep my dock clean).
Namely is an app that let’s you launch any application by typing in a few letters of that program’s name. Just type in a key combination ([Apple]+E here), and Namely’s window pop ups.
After a bit of Googling I found that it was possible to hide icons from the dock.
First of all, configure Namely, make sure it pop ups if you type in your key combo. If you don’t do that now, you’ll have problems to configure it later.
Once that’s done, quit Namely.
Then go to the Namely.app folder (using Terminal), and add these 2 lines
1
2
<key>LSUIElement</key><string>1</string>
<key>LSUIElement</key>
<string>1</string>
between <dict> and </dict>
This is what it should look like:
(Nano is the editor I use, but you can also use vi or vim too, depending what’s installed + you might have Namely installed in a different directory)
You’ll need a rsync server, something to backup, and ssh-agent running to ease the process (or, fill in your password each time).
Add the following lines (using a terminal text editor) to a text file (“.rsync” for example, hidden files under Unix-like systems), and chmod +x $file.
This will upload any files in /Users/you/Documents to /home/you/remote-backup-directory.
It will use ssh on port 222 to transfer the files.
Just execute ./.rsync (if that’s the name of your file) to run it.
If you make any changes (locally), and run this, the changes will be applied on the remote server (e.g. file changes, renames, deletes, …) — this will delete files on the remote server if you’ve deleted them locally!
The file .rsync_exclude is optional, it includes all files or directories that should NOT be uploaded