Permalink
Browse files

Add LSSharedFileList property list files to the junk list.

  • Loading branch information...
1 parent a8836da commit aa14056eb752d54392f8d6a61cdbb92e7de25da0 @SaberUK committed Dec 14, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 bin/rmjunk
View
2 bin/rmjunk
@@ -10,7 +10,7 @@ if ARGV.size < 1
puts "Syntax: #{File.basename($PROGRAM_NAME)} <dir> [sim]"
exit 1
else
- JUNK_ITEMS = [ '._*', '.*_history', '*.rbc', '.DS_Store', '.TemporaryItems', 'desktop.ini', 'Thumbs.db' ].freeze
+ JUNK_ITEMS = [ '._*', '.*_history', '*.rbc', '*.LSSharedFileList.plist', '.DS_Store', '.TemporaryItems', 'desktop.ini', 'Thumbs.db' ].freeze
SKIP_DIRS = [ '.git' ]
Find.find(ARGV[0]).each do |file|
next if File.directory?(file) && SKIP_DIRS.include?(file)

0 comments on commit aa14056

Please sign in to comment.