Archive for the ‘Mac OS X / OS X / MacOS’ Category
Posted by jpluimers on 2014/03/25
As a follow up on my recent rsync on ESXi 5.1 post, as – when rsync in ESXi terminates the hard way because of a lost SSH connection – rsync can leave “hidden” files behind.
A small script that recursively shows the hidden files (those starting with a dot) starting from the current directory:
find . -iname ".*"
More of those (including deleting them, filtering for only files or only directories, etc) are at Linux / UNIX: Bash Find And Delete All Hidden Files Directories.
Note: don’t try to outsmart using something like piping through grep "\/\." as that will also match files who’s parent directories are hidden.
–jeroen
via:
Posted in *nix, Apple, bash, Development, ESXi4, ESXi5, ESXi5.1, ESXi5.5, Linux, Mac, Mac OS X / OS X / MacOS, Mac OS X 10.4 Tiger, Mac OS X 10.5 Leopard, Mac OS X 10.6 Snow Leopard, Mac OS X 10.7 Lion, MacBook, MacBook Retina, MacBook-Air, MacBook-Pro, OS X 10.8 Mountain Lion, OS X 10.9 Mavericks, Power User, Scripting, Software Development, SuSE Linux, VMware, VMware ESXi | Tagged: hidden files, rsync | Leave a Comment »
Posted by jpluimers on 2014/03/24
Blast from the past, and happy I found back the original blog that pointed me to this: Not a complete failure » Blog Archive » How to copy a file with I/O errors?.
A long while ago, I helped out a friend with a HDD that was partially working. He neede the bits of a file that had become unreadable by regular means.
dd to the rescue: it takes a lot longer, but gets the job done eventually. Eventually can be T+eternity.
Note that you always should copy such a file to another drive, like described in the above blog.
Something like this (the parameters are explained at the dd man page):
dd if=/mounting-path/directory-path/damaged.mp4 of=resurrected.mp4 conv=noerror,sync
Usually for creating disk images, dd works on *n*x, Mac OS X, Windows with for instance Cygwin, ESXi, etc.
See also: linux – Rescuing a hdd with bad sectors: dd vs gddrescue – Super User.
–jeroen
via: Not a complete failure » Blog Archive » How to copy a file with I/O errors?.
Posted in *nix, Apple, Cygwin, ESXi4, ESXi5, ESXi5.1, ESXi5.5, Linux, Mac, Mac OS X / OS X / MacOS, Mac OS X 10.4 Tiger, Mac OS X 10.5 Leopard, Mac OS X 10.6 Snow Leopard, Mac OS X 10.7 Lion, MacBook, MacBook Retina, MacBook-Air, MacBook-Pro, OS X 10.8 Mountain Lion, OS X 10.9 Mavericks, Power User, SuSE Linux, VMware, VMware ESXi | Leave a Comment »
Posted by jpluimers on 2014/03/17
On the Mac terminal window:
Size yes, position no.
Size can be set in Preferences>Settings>ThemeYouUse>Window>Window Size
Take a look at this for the fold/unfold,
TotalTerminal is a system-wide terminal accessible via a hot-key
–jeroen
via: Make terminal window open with fixed size and position – Mac-Forums Discussions for Apple Products & Services.
Posted in Apple, Mac, Mac OS X / OS X / MacOS, Mac OS X 10.4 Tiger, Mac OS X 10.5 Leopard, Mac OS X 10.6 Snow Leopard, Mac OS X 10.7 Lion, OS X 10.8 Mountain Lion, Power User | Leave a Comment »
Posted by jpluimers on 2014/03/14
Interesting: HotspotShield VPN to surf from a USA IP address.
There is a free version with ads, and a payed version without ads.
Probably more services like this exist, but this has been working for me.
Yup there are:
–jeroen
via: Download Free VPN for iPhone, Mac and Windows to Access Blocked Sites & Surf Anonymously.
Posted in Apple, iOS, iPad, iPhone, Mac, Mac OS X / OS X / MacOS, Mac OS X 10.4 Tiger, Mac OS X 10.5 Leopard, Mac OS X 10.6 Snow Leopard, Mac OS X 10.7 Lion, OS X 10.8 Mountain Lion, Power User, Windows, Windows 7, Windows 8, Windows Vista, Windows XP | Leave a Comment »
Posted by jpluimers on 2014/03/06

Consolidation of HDD manufacturers (image from WikiMedia)
Earlier this year I wrote about Accessing Mac Hard Drives from Windows 7/8: Boot Camp Support Software 5.0.5033 and mentioned that there are also a few solutions for writing NTFS volumes from Mac OS X.
Thanks to dhardy03, I learned that Seagate now provides NTFS drivers for Mac OS X for Free. The installer name indicates it is an OEM version of the Paragon NTFS drivers for Mac OS X.
I’m not sure yet if it works only on Seagate drives, but since the only other HDD manufacturers left are Toshiba and Western Digital (Toshiba is a much smaller HDD manufacturer than WD and SD), it is a substantial part of the market.
I might try NTFS-3G as well, but that hasn’t been updated for a while and has been replaced by the commercial Tuxera product.
–jeroen
via:
Posted in Apple, Mac, Mac OS X / OS X / MacOS, MacBook, MacBook Retina, MacBook-Air, MacBook-Pro, OS X 10.8 Mountain Lion, OS X 10.9 Mavericks, Power User, Uncategorized | Tagged: HDD, NTFS, Paragon NTFS | Leave a Comment »
Posted by jpluimers on 2014/03/04
Interesting commands around networksetup -setairportpower en0 : power off and on your WiFi.
–jeroen
via: [Wayback/Archive] Quick Tip: Automating your Mac’s wifi power – BrettTerpstra.com.
Posted in Apple, Hardware, Mac, Mac OS X / OS X / MacOS, Mac OS X 10.6 Snow Leopard, Mac OS X 10.7 Lion, MacBook, MacBook Retina, MacBook-Air, MacBook-Pro, Network-and-equipment, OS X 10.8 Mountain Lion, OS X 10.9 Mavericks, Power User, WiFi | Leave a Comment »
Posted by jpluimers on 2014/03/03
I’m a command-line addict, so this was a great SuperUser question by Željko Filipin:
I know how to find Mac OS X version from GUI: Apple Menu (top left) > About This Mac
Is there a Terminal command that will tell me Mac OS X version?
It was answered by User delfuego:
You have a few options:
sw_vers -productVersion
system_profiler SPSoftwareDataType
These commands led me to this post: Finding OS X Version and Build Information From the Command Line | The Nubby Admin that also showed these commands:
uname -a
osascript -e 'system info'
Where uname shows only the kernal version, oascript gives a ton of information. Read the rest of this entry »
Posted in Apple, Mac, Mac OS X / OS X / MacOS, Mac OS X 10.4 Tiger, Mac OS X 10.5 Leopard, Mac OS X 10.6 Snow Leopard, Mac OS X 10.7 Lion, OS X 10.8 Mountain Lion, OS X 10.9 Mavericks, Power User | 2 Comments »
Posted by jpluimers on 2014/02/25
Posted in Apple, Delphi, Delphi XE2, Delphi XE3, Delphi XE4, Delphi XE5, Development, Mac, Mac OS X / OS X / MacOS, MacBook, MacBook Retina, MacBook-Air, MacBook-Pro, OS X 10.9 Mavericks, Power User, Software Development, xCode/Mac/iPad/iPhone/iOS/cocoa | 3 Comments »