Find all files of type
This commit is contained in:
@@ -2,8 +2,12 @@ defmodule FindOldMp3s.Main do
|
||||
use Bakeware.Script
|
||||
|
||||
@impl Bakeware.Script
|
||||
def main(_args) do
|
||||
IO.puts "Hello, World!"
|
||||
def main(args) do
|
||||
path = args
|
||||
|> Path.expand
|
||||
|
||||
Path.wildcard(path) |> Enum.each(fn path -> IO.puts(path) end)
|
||||
|
||||
0
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user