Skip to content

Instantly share code, notes, and snippets.

View InvisibleFunction's full-sized avatar

InvisibleFunction

View GitHub Profile
@lpar
lpar / forkboy.rb
Created December 23, 2011 18:54
Locate files on Mac OS X which have resource forks
#!/usr/bin/env ruby
# encoding: UTF-8
# Utility for Mac OS X to locate files which have resource forks, and which
# therefore might be corrupted by being transferred via a non-Mac filesystem.
require 'find'
if ARGV.length != 1
puts "usage: forkboy <dir>"