Created
September 20, 2020 08:20
-
-
Save albb0920/b4e85664ea0b7b54e0a3895e18ec6b24 to your computer and use it in GitHub Desktop.
Extract AVUtils project file (.aup) referenced file paths
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
puts File.read(ARGV[1]).force_encoding('Shift_JIS').encode('UTF-8', invalid: :replace, undef: :replace, replace: '').scan(/.:\\.*?\0/).map{|x| x.sub(/[^a-z0-9]*$/, '')}.uniq |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment