You forgot the -print0 at the end of the find command. In the read -r -d '' you want to read NUL-separated strings, so you must tell the find command to also use NUL characters between the filenames.
elmicha
- 0 Posts
- 21 Comments
elmicha@feddit.orgto
Linux@lemmy.ml•Is there a way to setup audio renderer (sink) [SOLVED]
3·1 month agoI found uPnP is not advised due to security risk
There are different uPnP things: one that lets apps open ports in your router (security risk) and one with media renderer (safe).
You said you/I/everyone can use multiple shells, I said: no, I can’t, at least not on all the machines that I have to use.
Some people work on machines where they are not allowed to install anything.
There’s jc (CLI tool and python library that converts the output of popular command-line tools, file-types, and common strings to JSON, YAML, or Dictionaries).
If you’re not allergic to Amazon, a FireTV stick might be enough, at least for Jellyfin, Youtube/Netflix etc. (not sure about streaming from the browser).
elmicha@feddit.orgto
Linux@lemmy.ml•Must fight temptation to buy an overpriced raspberry pi
6·7 months agoThe Raspberry Pi Zero in USB gadget mode can be used for GPIO. If you don’t want to setup gadget mode, get Pi Zero W.
Also there’s a
timeoutsetting in the same file.
elmicha@feddit.orgto
Linux@lemmy.ml•intel-microcode on an AMD system with Debian questionEnglish
25·7 months agoYou can update and it won’t break anything, because Intel microcode won’t be loaded into AMD CPUs. If you run
apt show intel-microcodeit tells you that there is aamd64-microcodepackage as well. If it is not already installed, you can install it, and then try to remove intel-microcode. If it doesn’t want to remove anything else (e.g. the kernel), you can remove it. If not, just leave it installed.
Or just use completion: press tab once or twice after the ssh command (and a space). If that doesn’t work, install the bash-completion package.
elmicha@feddit.orgto
Linux@lemmy.ml•Progress towards universal Copy/Paste shortcuts on Linux
5·8 months agoWe could use Ctrl+Insert and Shift+Insert like in the last three decades, but some of these keyboards apparently forgot about the Insert key.
elmicha@feddit.orgto
Linux@lemmy.ml•Cheap Portable USB Touch Monitors - any experiences?
3·8 months agoThat reminds me: when I bought an MSI monitor (15" without touch) it also came with one USB-C to USB-C cable. All my other USB-C cables did not work for video.
elmicha@feddit.orgto
Linux@lemmy.ml•Do I need to update Windows 11 on a Windows / Linux Mint dual boot system?
3·8 months agoBut if the Windows has an OEM license, it can’t be used inside a VM, as far as I understand.
I just looked, and Chimera also offers distrobox. I didn’t have the need to really use it yet, but it sounds like it would be the best because of its desktop integration.
elmicha@feddit.orgto
Privacy@lemmy.ml•KeePassXC: Convenience of single passwords file and security of having multiple protected databases possible?
1·11 months agoI’m using sftp in Keepass2Android to sync the file while I’m at home. When I’m not at home, it uses the local copy on the phone.
When the password file has changed on my home server and on the phone, Keepass2Android will ask if it should merge the databases. I’m not sure what Syncthing would do in that situation.
elmicha@feddit.orgto
Linux@lemmy.ml•zcat shouldn't error out if you try to zcat an uncompressed file, it should just output the damned file !
25·1 year agoI agree. zgrep also works for uncompressed files, so we could use e.g.
zgrep ^instead of zcat.
elmicha@feddit.orgto
Linux@lemmy.ml•why can't I connect to my ssh server UNLESS I enter eval "$(ssh-agent -s)" first?
1·1 year agoSearch for /run/user/1000/gcr/ssh on the Internet. I’m on my phone and didn’t find the solution, but I’m sure you’ll find it.
I have to use Windows at work, but I can use WSL on the developer laptop. Also I develop for/on Linux servers via ssh, so it’s good that I know Linux from home.