Skip to content

Save items to same folder under "webp" #4

@ijjimem

Description

@ijjimem

I've made some changes to your powershell code for global usage to save the files in the same directory under webp.

md "$directory/webp"
cd "$directory/webp"
Get-ChildItem $Directory | ForEach-Object {
cwebp.exe -q $compressionFactor -mt -m $compmethod $.fullname -o "$($.basename).webp"
}
$PSScriptRoot

implement it better if you can and repost :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions