kinda wanna push this. i have some pdf files which i want to compress. so i created a custom profile and use it like this in the cmd line:
Get-ChildItem "C:\Users\curUser\Desktop\pdftest" -Recurse -Filter *.pdf | % { & 'C:\Program Files (x86)\PDF24\pdf24-DocTool.exe' -applyProfile -profile "user/wwExport" -outputFile $_.FullName $_.FullName}
it works fine, but it does not overwrite the source file. i get fileA (1).pdf for example. I need some option to overwrite the source file. is there any option? I hoped if i set the outputFile same as the source File it will get overwritten but sadly not.