Walk a directory/Recursively: Difference between revisions

→‎{{header|Julia}}: updated to Julia 1.2
No edit summary
(→‎{{header|Julia}}: updated to Julia 1.2)
Line 1,211:
 
=={{header|Julia}}==
{{works with|Julia|01.62}}
 
<lang julia>rootpath = "/home/user/music"
Line 1,218:
for (root, dirs, files) in walkdir(rootpath)
for file in files
if ismatchoccursin(pattern, file) println(file) end
end
end</lang>