Moving Data from Linux to the Mac
- 2007.12.17 - Tip Jar
Popularity: ![]()
![]()
![]()
Low End Mac Reader Specials
Memory To Go Special: MacPro 8 Core Memory 4GB kit $154 / 2GB kit $94, New 2008 iMac 2GB $46. MacBook Pro / MacMini / iMac Intel Core2 DUO 2GB $44 / 1GB $23--Free shipping available.
Download Typestyler, still the Ultimate Styling Tool for Internet, Print and Video Graphics. Works great in Classic with a Native OS X Version on the way. Free Tryout: www.typestyler.com
LA Computer Company: LA Computer Company: Specials on AppleCare, Apple Displays, MacBooks, iMac's, MacBook Pros, Laptop and iPod accessories and more. Apple A/C Adapters for laptops starting at $25.00 Call 1-800-941-7654 or Click Here.
OWC: NewerTech NuPower Batteries for iBook and PowerBooks Designed+Built in USA to run longer, LAST LONGER TOO! Free Battery Recycling Return Label; Quality High-Capacity from $99.95
Mac users can finally play Party Poker for Mac. Not only that, they can also learn how to play PokerStars for Mac.
Laptop Hardware Provided by TechRestore - Overnight Mac & iPod Repairs.
Compare products like desktop computers, laptops, and LCD TVs side by side! All the information and reviews to make the best purchasing decision for a new cell phone GPS products or MP3 players. The Ciao network makes searching products easy for you.
MacBook/MacBook Pro / MacMini / iMac Intel Core2 DUO DDR2 667Mhz 4GB Kit $84, 3GB Kit $60, 2GB Kit $40 1GB $20. Click to Maximize your Macs...
Making the move to a new operating system is a daunting task. You have to learn a new graphical interface, new programs, and also have to find a way to preserve your precious data. Having made a successful transition from Linux to Mac, here are a few tips for those considering the jump.
Staying Neutral in the Format Wars
Over the last ten years, I've gone from being a Windows desktop user to a Linux desktop user to a Mac desktop user. My core data has traveled with me every step of the way. This includes text files, images, office documents, PDFs, Palm data files, audio, video, Java packages, and more. Since it's impossible to know the future with certainty, I strive to keep my data in neutral, cross-platform formats.
In some cases, program or platform-specific file formats are unavoidable. If you work at it, you can keep important data in a format that can easily be moved from one system to another. My first suggestion is to get your data into portable, open formats.
Nothing is more portable than plain text. Plain text is not sexy or flashy, but it is durable. Standardized image formats (GIF, JPEG, PNG) are also completely portable. Cross platform application file formats, like Gimp, are also portable. If you are Palm PDA user, you'll find that Palm files and synchronization work flawlessly on the Mac.
Though complaints were lodged against Leopard, since it shipped without the latest version of Java, I've had no problems running Java desktop applications. In fact, OS X has a program (installed with the development tools) that lets you bundle a Java app to make it look like a native Mac app.
Audio and video formats are discussed in a more detail below.
File Names and Line Endings
With current versions of OS X, Linux, and Windows, long file names are portable and not much of a concern. Windows doesn't honor capitalization, but when moving from Linux to Mac, that is not a problem. I delved into the nuances of file names elsewhere.
Both Linux and OS X use a single carriage return character (ASCII code 13) to mark the end of a line in a text file. Windows uses the two characters, carriage return and line feed (ASCII code 10). Some text editors (including nano) can automatically convert text line endings, and there are utility programs that convert both ways (unix2dos and dos2unix). Both utilities are available through MacPorts.
Audio Files, iTunes, and the iPod
For compressed audio files, I recommend MP3 format. If you are concerned about the licensing issues surrounding MP3, Ogg Vorbis is available. While Ogg Vorbis is patent free, cost free, and DRM free, it currently doesn't work on the iPod. There is a plugin for iTunes to play Ogg Vorbis files, but if you want to take advantage of iTunes/iPod synergy, stick to MP3. iTunes also has the native ability to rip CDs directly to MP3. MP3s are fully licensed on OS X, so there are no intellectual property issues. Down the road, if you want to move to another OS, MP3s will be still be the easiest to transfer.
One more tip concerning iTunes: When you import music files into the
iTunes library, it does more than index the file, it physically copies
it to
/Users/username/Music/iTunes/iTunes
Music/artist/. So, after you
import music files into iTunes, there are two copies of each audio file
imported into iTunes. You can choose to maintain separate copies or let
iTunes manage your files.
Video Files
I don't have a large video collection, but I have had good luck playing MPEG files on all platforms. Like MP3, it seems to be ubiquitous. OS X favors QuickTime files (.mov) but comes with many other codecs.
Finder Droppings
The Finder is the default file manager in OS X. Coming from Linux, I spent a lot of quality time on the command line. I still do on OS X and was somewhat dismayed to find hidden files in every directory touched by the Finder.
In every directory browsed by the Finder, it creates a .DS_Store file (Desktop Services Store). The .DS_Store contains the Finder viewing preferences for that directory. At the root of every Volume that the Finder touches, it creates a .Trashes directory to store deleted files. There is no way to turn of .DS_Store droppings on locally connected drives, but you can change a Finder default to prevent it from creating .DS_Store files on network drives. Run this command in the Terminal to turn off .DS_Store creation on network drives:
defaults write com.apple.desktopservices DSDontWriteNetworkStores true
It's All About the Bits
Your data is arguably more important than the platform or operating
system you use. It is certainly more difficult to replace. Aiming for
platform neutral data formats allows you maximum flexibility moving
from Linux to Mac. It also makes it easier for you to share your data
with people who use different systems.
Keith Winston is a recent Mac convert after five years of Linux on the desktop. He also writes for Linux.com and recently created CommandLineMac.com to focus on the Unix-y power of the Mac. If you find Keith's articles helpful, please consider making a donation to his tip jar.
Recent Linux to Mac Columns
- 3 reasons to run virtualized Linux, 05.22. Reasons to run Linux under virtualization include duplicating your development environment, X11 programs that don't work well in OS X, and exploring different GUI concepts.
- Taking Linux to Mac OS X with virtualization, 03.17. Thanks to products like VMware Fusion, it's easy to run your favorite Linux distro alongside Mac OS X.
- Installing Ruby on Rails and PostgreSQL on Leopard, 02.15. The combination of Ruby on Rails and PostgreSQL is a powerful and popular development environment. Here's how to get both running under Mac OS X 10.5.
- More in the Linux to Mac index.
Recent Content on Low End Mac
- Toward a better computer keyboard, Dan Knight, Mac Musings, 07.23. Today's standard computer keyboards have obsolete keys, poorly placed ones (Caps Lock), and aren't designed for the way we work today.
- The Old Mac blues, Tamara Keel, Digital Fossils, 07.23. Intel Macs are tempting, but the Power Mac 7100 will be not one more iota obsolete tomorrow than it is today.
- Best Intel iMac deals, Low End Mac Deals, 07.23. Used 17" 1.83 GHz, $699; 2.0, $800; 20" 2.16, $750; refurb 20" 2.0, $949; 2.4, $999; 2.66, $1,299; 24" 2.16, $1,199; 2.4, $1,349; 2.8, $1,549; 3.06, $1,899; more.
- Best 15" PowerBook G4 deals, Low End Mac Deals, 07.23. Used 1 GHz SuperDrive, $600; 1.25 Combo, $600; SD, $650; 1.33 Combo, $640; 1.5 SD, $675; 1.67, $730; hi-res, $800.
- Best 17" PowerBook G4 deals, Low End Mac Deals, 07.23. Used 1.33 GHz, $800; 1.5 GHz, $859; 1.67 GHz, $910.
- Mac of the Day: 17" iMac G4/800 MHz, July 2002 - The iMac 'grows up' with a 17" 1440 x 900 display.
- List of the Day: G4 'Books an email list for G4 iBooks and PowerBooks.
- July 23 in LEM history: 99: The price is right - 01: Bigger hard drives for older Power Macs - 02: Open letter to Steve Jobs about .mac - 03: The good, the bad, the stupid of BuyMusic.com - 04: The iPod goes back to basics - G3 vs. G4 iBook - 07: Why developers love programming for the Mac - Internet options for G3 Macs
- SanDisk Sansa Clip MP3 player has lots of features at a sub-shuffle price, Tommy Thomas, Welcome to Macintosh, 07.22. The Clip has 1-2 GB of storage, a screen, iPod-like navigation, excellent sound, an FM radio, a built-in microphone, and a price that beats the shuffle.
- The Apple vs. Psystar letters, Frank Fox, Stop the Noiz, 07.22. Readers weigh in on trademark law, the End User License Agreement, the right of first sale, contract law, locking software to hardware, and other issues.
- The Mac's growing market presence, Dan Knight, Mac Musings, 07.22. Apple has always been a significant player in the personal computer industry, and it's growing sales at a remarkable rate.
- Record Mac sales, $1 billion profit, and a future product transition, Dan Knight, Mac Musings, 07.22. Apple reports sales of nearly 2.5 million Macs in the past quarter, along with highest ever profits for the June quarter. And it hints at a product transition that will impact margins.
- Kensington Portable Power Outlet a great accessory for the road warrior, Charles W. Moore, 'Book Value, 07.22. With three AC outlets and two USB charging ports, this compact device is a great way to have extra power outlets when you're on the go.
- More links in our archive.
About LEM | Support | Usage | Privacy | Contacts


