• Sign in
  • Sign up
Elektrine
EN
Log in Register
Modes
Overview Chat Timeline Communities Gallery Lists Friends Email Vault DNS VPN
Back to Timeline
  • Open on lemmy.ml

harsh3466

@harsh3466@lemmy.ml
lemmy 0.19.18-beta.1
0 Followers
0 Following
Joined February 17, 2024

Posts

Open post
In reply to
harsh3466
@harsh3466@lemmy.ml
lemmy.ml
harsh3466
harsh3466
@harsh3466@lemmy.ml
lemmy.ml
@harsh3466@lemmy.ml · 1d ago
That you Brendan?
11
0
0
0
Open post
In reply to
harsh3466
@harsh3466@lemmy.ml
lemmy.ml
harsh3466
harsh3466
@harsh3466@lemmy.ml
lemmy.ml
@harsh3466@lemmy.ml · Apr 10, 2026
What do they call a Debian?
10
2
0
0
Open post
In reply to
harsh3466
@harsh3466@lemmy.ml
lemmy.ml
harsh3466
harsh3466
@harsh3466@lemmy.ml
lemmy.ml
@harsh3466@lemmy.ml · Apr 05, 2026
Uh, I think you just got Gnomed.
10
2
0
0
Open post
In reply to
harsh3466
@harsh3466@lemmy.ml
lemmy.ml
harsh3466
harsh3466
@harsh3466@lemmy.ml
lemmy.ml
@harsh3466@lemmy.ml in lemmyshitpost · Mar 09, 2026
100%
0
0
0
0
Open post
In reply to
harsh3466
@harsh3466@lemmy.ml
lemmy.ml
harsh3466
harsh3466
@harsh3466@lemmy.ml
lemmy.ml
@harsh3466@lemmy.ml in privacy · Mar 06, 2026
I’m pretty sure you can. I never did because I ended up having to go back to macos on the machine I had.
10
0
0
0
Open post
In reply to
harsh3466
@harsh3466@lemmy.ml
lemmy.ml
harsh3466
harsh3466
@harsh3466@lemmy.ml
lemmy.ml
@harsh3466@lemmy.ml in privacy · Mar 06, 2026
It’s gotta be built for arm64
29
3
0
0
Open post
In reply to
harsh3466
@harsh3466@lemmy.ml
lemmy.ml
harsh3466
harsh3466
@harsh3466@lemmy.ml
lemmy.ml
@harsh3466@lemmy.ml in lemmyshitpost · Mar 03, 2026
Why not both? 🤣
0
0
0
0
Open post
In reply to
harsh3466
@harsh3466@lemmy.ml
lemmy.ml
harsh3466
harsh3466
@harsh3466@lemmy.ml
lemmy.ml
@harsh3466@lemmy.ml · Dec 17, 2025
find /path/to/starting/dir -type f -regextype egrep -regex 'some[[:space:]]*regex[[:space:]]*(goes|here)' -exec mv {} /path/to/new/directory/ \;


I routinely have to find a bunch of files that match a particular pattern and then do something with those files, and as a result, find with -exec is one of my top commands.


If you’re someone who doesn’t know wtf that above command does, here’s a breakdown piece by piece:


find - cli tool to find files based on lots of different parameters
/path/to/starting/dir - the directory at which find will start looking for files recursively moving down the file tree
-type f - specifies I only want find to find files.
-regextype egrep - In this example I’m using regex to pattern match filenames, and this tells find what flavor of regex to use
-regex 'regex.here' - The regex to be used to pattern match against the filenames
-exec - exec is a way to redirect output in bash and use that output as a parameter in the subsequent command.
mv {} /path/to/new/directory/ - mv is just an example, you can use almost any command here. The important bit is {}, which is the placeholder for the parameter coming from find, in this case, a full file path. So this would read when expanded, mv /full/path/of/file/that/matches/the/regex.file /path/to/new/directory/
\; - This terminates the command. The semi-colon is the actual termination, but it must be escaped so that the current shell doesn’t see it and try to use it as a command separator.
0
0
0
0
313k7r1n3

Company

  • About
  • Contact
  • FAQ

Legal

  • Terms of Service
  • Privacy Policy
  • VPN Policy

Email Settings

IMAP: mail.elektrine.com:993

POP3: pop3.elektrine.com:995

SMTP: mail.elektrine.com:465

SSL/TLS required

Support

  • support@elektrine.com
  • Report Security Issue

Connect

Tor Hidden Service

khav7sdajxu6om3arvglevskg2vwuy7luyjcwfwg6xnkd7qtskr2vhad.onion
© 2026 Elektrine. All rights reserved. • Server: 08:20:29 UTC