fix: glob pattern
This commit is contained in:
parent
bb2a2d136c
commit
105cccfdde
1 changed files with 1 additions and 1 deletions
|
@ -3,7 +3,7 @@ import $ from "https://deno.land/x/dax@0.7.1/mod.ts";
|
|||
import { expandGlob } from "https://deno.land/std@0.148.0/fs/mod.ts";
|
||||
import { relative, parse, resolve } from "https://deno.land/std@0.148.0/path/mod.ts";
|
||||
|
||||
for await (const file of expandGlob("*.wav")){
|
||||
for await (const file of expandGlob("**/*.wav")){
|
||||
const from = relative(Deno.cwd(),file.path);
|
||||
const parsed = parse(from);
|
||||
const to = resolve(parsed.dir,parsed.name+".flac")
|
||||
|
|
Loading…
Add table
Reference in a new issue