Compare commits

..

3 Commits

2 changed files with 8 additions and 3 deletions

3
fix-macos-executables Executable file
View File

@ -0,0 +1,3 @@
#!/bin/sh
where="$1"
find "$where" -perm +111 -a -type f -exec xattr -d com.apple.quarantine {} \;

View File

@ -50,9 +50,11 @@ ARTISTS.lines.each do |artist|
puts "Creating #{dest}"
FileUtils.mkdir_p(dest)
mp3_files.each do |mp3_file|
unless File.exist?("#{dest}/#{File.basename(mp3_file)}")
puts "Copying #{mp3_file} -> #{dest}"
FileUtils.cp(mp3_file, dest)
system("sync", DEST)
end
end
end
end