Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add LSSharedFileList property list files to the junk list.

  • Loading branch information...
commit aa14056eb752d54392f8d6a61cdbb92e7de25da0 1 parent a8836da
@SaberUK authored
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)
Please sign in to comment.
Something went wrong with that request. Please try again.