kittenroar@beehaw.orgtoLinux@lemmy.ml•Does anyone else have this issue with Bitwarden flatpak.English
0·
5 days agoThat looks super frustrating.
That looks super frustrating.
Very nice; I will use this. Thanks!
Here’s the code:
#!/bin/bash
cmd=$@
if echo $cmd | grep '/$'
then
xargs -rd '\n' -I {} $cmd{}
else
xargs -rd '\n' -I {} $cmd {}
fi
Usage is like:
ls *zip | iter shasum
or
ls *zip | iter shasum ../zipfile_archive/
The second one would get the shasum of zip files that have the same name as ones in the cwd
This assumes, of course, that the input files have sane names, ie, no spaces, etc
Great minds, lol. I have almost the exact same command set up as a little script. Mine has an extra modification for my use case, and I named mine iter, but foreach is a good name for it too.
Check out gold warden – I will install it also. It’s a general improvement on the official bitwarden desktop application.