wsend icon indicating copy to clipboard operation
wsend copied to clipboard

add bulk delete to uploaded files

Open ibrahimabdalmageed opened this issue 3 years ago • 1 comments

ibrahimabdalmageed avatar Nov 28 '21 20:11 ibrahimabdalmageed

I would have gotten back to you sooner but I'm not sure what's going on with my github notifications.

What were you thinking for this feature? like accepting a list of files from stdin, or a command line option of some sort, right now you can do this:

wsend -lsu | grep 'some-type-of-discriminator-in-filename' | while read line; do wsend -x $line; done

this will go line by line and remove the files that you've grepped for the grep will work on the links and wsend -lsu will return all of your files in link format so if your files are named something like:

file001.txt
file002.txt
file003.txt

etc. you can do something like this for the grep: grep file0 or grep -E 'file[0-9]+\.txt' or grep -P 'file\d+\.txt'

abemassry avatar Feb 22 '22 14:02 abemassry