oberblastmeister / trashy

a cli system trash manager, alternative to rm and trash-cli
Apache License 2.0
344 stars 12 forks source link

support for trashing multiple files with same extension? #109

Open deadcoder0904 opened 9 months ago

deadcoder0904 commented 9 months ago

i have a list of 12 different .py files that i want to put in trash.

is this possible directly?

i tried this command:

trash *.py

& got this error:

error: Error during a trash operation: Unknown { description: "windows error: The parameter is incorrect.\r\n" }

i'm on windows 11 using windows terminal bdw.

deadcoder0904 commented 5 months ago

faced a similar error today:

error: Error during a trash operation: Unknown { description: "windows error: The parameter is incorrect.\r\n" }

I tried this today:

trash _data/*

fmorroni commented 5 months ago

Try with trashy put *.py, it is working fine for me. Also I believe the version of trashy where the command was trash and the put was optional is old.

deadcoder0904 commented 5 months ago

idk i installed it like 6 months ago lol but use it a lot as rm -rf breaks on windows 11 powershell 7.