/tech/ - Technology and Computing

Technology, computing, and related topics (like anime)

We are back again (again).

Our TOR hidden service has been restored.

Max message length: 6144

Drag files to upload or
click here to select them

Maximum 5 files / Maximum size: 20.00 MB

More

(used to delete files and postings)


QTDDTOT v2 Anonymous 12/13/2025 (Sat) 09:20:38 No.3706
ded bord, but will ask anyway: Having trouble with an alias to auto-convert all webp's (into the folder I toss all my saved images into before manually moving them, if I ever do) into png's followed by deleting the original webp's: 'cd ~/Pictures/Memes/ && mogrify -format png *.webp && find . -name *.webp -type f -delete && cd ~' It USED to work, but for no discernible reason (don't remember exactly when this started) it no longer deletes the old webp's. It instead throws up errors like: >find: paths must precede expression: ?>`Screenshot_20251206-094014.webp' >find: possible unquoted pattern after predicate `-name'? Too tech illiterate to know how to proceed from here. Should I be using something other than find?
>>3706 >Should I be using something other than find? Near as I can tell the expression: find . -name *.webp is valid. AKA < worksonmybox(tm) I'd look for the problem in another part of the overall command. You can just look at the outputs (possibly filtering with grep) to check each step. As to why it doesn't work now, I dunno. Maybe an update broke something? Good luck.

Report/Delete/Moderation Forms
Delete
Report