is the command locate too old for debian 13 xfce?
locate
is a command I've used in the past, but now, fresh installed with sudo apt get locate
it doesn return anything.
locate --version
returnslocate (GNU findutils) 4.10.0
, from 2024
or, have I forgotten something?
like this
locate
uses an index you need to update using updatedb
before it is able to find anything.
updatedb
may run periodically because of a cron job, but the index is probably missing right after installing it manually.
I guess because that adds extra complexity that isn't inherently necessary and can be added on top, plus it eats resources. You'll spend the cycles either way basically, at least this way it's optional. I don't bother with a file indexer because with SSDs nowadays, find
is pretty fast, and how often do you search for files anyway?
Linux has APIs to get notified on file system events (fanotify, inotify) which would allow such a service to update itself whenever files are created/delete immediately, but locate
is way older than that, from the 80s. I think popular DEs have something like that.
There's also ways to search for specific files that come with packages (e.g. dpkg -S
), because the package manager already maintains an index of files that were installed by it, so you can use that for most stuff outside /home
.
And often advanced searches like only this root folder, in reverse order of accessed time, or only folder
On windows I use void tools everything but nothing like it compares in speed and ease of use on linux.
It's one of my many roadblock to transition to linux.
Have you tried RTFM? 😛
Jokes aside afaik you could do everything you mentioned with sort, find (with -type f, -printf and -mtime) and grep (filtering via regex with the -e flag).
Alternatively you could try KDE's file explorer dolphin (or even just its search utility kfind) as a graphical alternative.
My point is switching to linux is not quick or easy, but there are few really impassable roadblocks (games with shitty kernel level anticheat for example) and there is a high likelyhood someone in this community has encountered your problems aswell and migjt even know a solution.
using find to sort all pictures in /pics/ by inverted (i.e., most recently accessed first) access time, and filtering only those with an exposure time between 1/20 and 1/100 seconds
find /pics/ -type f \( -iname '*.jpg' -o -iname '*.jpeg' -o -iname '*.png' \) \
-exec exiftool -ExposureTime -T {} \; -exec bash -c '
file="$1"
exposure="$2"
# Convert exposure to decimal
if [[ "$exposure" =~ ^([0-9]+)/([0-9]+)$ ]]; then
num="${BASH_REMATCH[1]}"
denom="${BASH_REMATCH[2]}"
exposure_val=$(echo "$num / $denom" | bc -l)
else
exposure_val="$exposure"
fi
# Filter by exposure between 1/100 and 1/20 seconds
if (( $(echo "$exposure_val >= 0.01" | bc -l) )) && (( $(echo "$exposure_val <= 0.05" | bc -l) )); then
atime=$(stat -c %X "$file") # Access time (epoch)
echo "$atime $file"
fi
' bash {} $(exiftool -s3 -ExposureTime {}) | sort -nr
In voidtools everything it would be
pic: path:"C:\pics" sort:da-descending ExposureTime:1/20..1/100
But actually doesn't work because "ExposureTime" is only available as an sorting order not a filter but you get the gist ;)
Ah yeah okay, I see, that would be quite tedious to implement in bash. Everything looks pretty neat. 😁
Buuut I just looked at KDE's search framework filter options (used by dolphin if you press + f ) and it seems it is indeed possible to search/filter by exposure time with dolphin or via directly in the cli.
Seems like a good and useful workflow for sure. Don't know if something equivalent exists, maybe it doesn't.
I'd personally use find
for this, but it is a command line tool, and while I have memorized some of the more common options (directories-only would be -type d
for example), I'd have to look at the manpage for more advances options. It's not hard exactly but it's not easy-to-use GUI software for sure.
I've taken to using chatgpt to make me the more advanced find queries, before on linux I would ONLY use find /path | grep -i somenames
So that's already an improvement, if still a bit tedious
The thing about everything is that it's so ergonomic, fast and powerful.
Being able to search anything and sort everywhich way with the click of a button
Check out this sublime search syntax (this not even half of it ! )
And the re-ordering by columns, and there are just SO MANY columns you can add, like search by EXIF camera exposure, no problem !
I really wish there was something as good as "everything" on linux, it's just awesome.
But if there's not something like... whatever it is that thing that makes WizTree faster than WinDirStat, then it would probably work in a very slow compatibility mode
GitHub - sharkdp/bat: A cat(1) clone with wings.
A cat(1) clone with wings. Contribute to sharkdp/bat development by creating an account on GitHub.GitHub
IFS=:; find $PATH -executable -iname "$1" -print
Speed advantages of a indexed DB don't matter much anymore with nowadays hardware.
[Video] Zionists from Spain harass the Gaza flotilla with Israeli genocide glorification music. Claiming they will play it every night to prevent them from sleeping
Additional context from an ex-Israeli who knows the song:
It's not just some random Israeli music he's playing, it's genocidal anthem "Harbu Darbu" by Ness & Stila. This song has played (and continues to play) a significant role in creating the post-October7 hyper-genocidal atmosphere that's been sweeping Israel and enabling a Holocaust
How to make tagging easier?
When I want to tag a post, I often come across the issue of "tagging uncertainty". E.g.
- Did I use singular (KungFuMovie) or plural (KungFuMovies) on other occasions?
- Did I use 'native' (KurosawaAkira) or Western (AkiraKurosawa) name order?
- Have I even used a tag on this topic before, or is it the first time?
In order to check, I:
- scroll up or down until I see the top of the community sidebar info
- middle-click the link there to the community home page (only available on my own community because I placed one there myself) to open in a new tab
- switch from posting window tab to that new tab
- scroll down until I see "All community tags"
- click on that
- look for the tag I'm interested in
- go back to the tab with the posting window
- write the desired tag
E.g. for this very post, I wasn't sure whether to tag it "tag", "tags" or "tagging". I had to click "Communities", search for "help", middle-click on "Piefed Help", switch to that tab and then look at the tag area to see which form has been used previously.
Some ideas that might make tagging easier:
- a "See all community tags" link next to the tags field in the posting window (easy to do?), opens in a new tab or a pop-up
- auto-suggest one or more tags once you start typing one in the tag field (hard to do?), like on Mastodon
- any other ideas, anyone?
like this
It's kind of a "wisdom of the crowd" thing. The idea that on average, in aggregate, most of the time, it starts to make sense and be useful. But individual posts are often tagged very "wrongly".
Having said that... For space reasons the tag list in the sidebar is limited to 30 tags and I'm sure there is more we could do to improve the utility of it. Maybe a separate page which has a rotatable tag cloud at the top and below that the list of posts dynamically updates based on whatever is the currently selected tag...
Honestly?
At this point, given their very limited range of usefulness (one-community-only, mods can't add, remove or edit tags on posts, clicking #tag won't find #tags or #tagging, the work required to try to avoid such 'tag splitting', Lemmy users can't add them, Lemmy users can't see them), I'm tempted to just stop bothering with tags altogether.
But then I remember "Search this community" doesn't really work...
:::spoiler jackiechan tag vs "Search this community" for jackie
- piefed.social/c/action_movies?… (8 results)
- piefed.social/search?q=jackie&… (1 result)
:::
So if I give up on tagging and community search is broken, what option does that leave for anyone trying to find something in a community? Flairs? Or just plain, old Ctrl+F? (Yes, I've had to resort to this with Piefed, with varying degrees of success.)
(I've already learned to keep an Alex Lemmy page open all the time, so I can do things like search a community.)
So I guess I have to keep tagging if I want Piefed users to be able to ever find anything. And I guess it will still involve me doing all those steps I listed in OP. 🙁 Not exactly a candidate for !piefed_joy@piefed.social
Search results for jackie
[Join us on chat.piefed.social!](https://piefed.social/post/970751)piefed.social
Judge Blocks Trump’s Firing of Lisa Cook From the Federal Reserve Board
Judge Blocks Trump’s Firing of Lisa Cook From the Federal Reserve Board
A lot of things happened. Here are some of the things. This is TPM’s Morning Memo. Sign up for the email version. In a late-night ruling, U.S.David Kurtz (TPM - Talking Points Memo)
Microsoft mandates a return to office
Microsoft mandates a return to office
Microsoft is requiring its employees to return to the office. Employees near its headquarters will start returning in late February, ahead of other offices.Tom Warren (The Verge)
adhocfungus likes this.
UK has delivered over £500m in arms parts to Israel in a joint genocide effort
UK complicit in Israel's genocide
New report shows the UK is firmly embedded in Israel's genocide as it provides arms exports worth over £500 million to terrorise PalestineMaryam Jameela (The Canary)
Jeffrey Epstein press conference: 'We know their names': victims make their own list
Jeffrey Epstein press conference: 'We know their names': victims make their own list
The survivors are compiling a list of Epstein associates, but say they are scared for their own safety.BBC News
U.S. hits alleged Venezuelan drug boat, Trump to send National Guard to Chicago and Baltimore, Yemen strikes back at Israel, 21,000 Palestinian children disabled in Gaza war
cross-posted from: lemmy.ml/post/35651038
Drop Site Daily: September 3, 2025
At least 44 Palestinians, including 33 in Gaza City, have been killed in Israeli attacks since dawn. Israeli forces escalating aerial and artillery strikes across Gaza City. At least 21,000 children have been disabled by Israel’s war on Gaza. Ansarallah launches retaliatory strikes against Israel after assassination of senior civilian officials in Yemen, including its prime minister. U.S. military kills 11 people in strike on alleged Venezuelan drug trafficking boat. China holds a major military parade to mark the 80th anniversary of WWII. Israel drops grenades near the UN peacekeeping force in Lebanon. U.S. President Donald Trump says he is sending federal troops to Chicago and Baltimore.
U.S. hits alleged Venezuelan drug boat, Trump to send National Guard to Chicago and Baltimore, Yemen strikes back at Israel, 21,000 Palestinian children disabled in Gaza war
Drop Site Daily: September 3, 2025
At least 44 Palestinians, including 33 in Gaza City, have been killed in Israeli attacks since dawn. Israeli forces escalating aerial and artillery strikes across Gaza City. At least 21,000 children have been disabled by Israel’s war on Gaza. Ansarallah launches retaliatory strikes against Israel after assassination of senior civilian officials in Yemen, including its prime minister. U.S. military kills 11 people in strike on alleged Venezuelan drug trafficking boat. China holds a major military parade to mark the 80th anniversary of WWII. Israel drops grenades near the UN peacekeeping force in Lebanon. U.S. President Donald Trump says he is sending federal troops to Chicago and Baltimore.
Google’s $45 Million Contract With Netanyahu's Office to Spread Israeli Propaganda
Google’s $45 Million Contract With Netanyahu's Office to Spread Israeli Propaganda
Google is in the middle of a six-month, $45 million contract to amplify propaganda with Netanyahu’s office. The contract describes Google as a “key entity” supporting the prime minister’s messaging.Jack Poulson (Drop Site News)
like this
They publicly recinded their "Don't be Evil" motto years ago. You should know that anyone that does something like that is evil.
Degoogling is a thing for this reason.
Proton Mail Says It’s “Politically Neutral” While Praising Republican Party
The “privacy-first” company surprised its user base when CEO Andy Yen lauded Trump on social media.Nikita Mazurov (The Intercept)
$45 million??? That's a rounding error on a single day of Google's income. I'm not even a little shocked that they have no scruples or integrity whatsoever, but I AM shocked how apparently CHEAP our democracy is.
Hell, it'll probably cost more than that to IMPLEMENT this in any meaningful sense!
Poor man's bitemporal data system in SQLite and Clojure
Poor man's bitemporal data system in SQLite and Clojure
On trying to mash up SQLite with ideas stolen from Accountants, Clojure, Datomic, XTDB, Rama, and Local-first-ers, to satisfy Henderson's Tenth Law. Viz.EvalApply.org
Carney says to expect both an austerity and investment-focused budget, criticizes Trudeau-era spending
Carney says to expect both an austerity and investment-focused budget, criticizes Trudeau-era spending
Prime Minister set expectations for the spending plan, which the government plans to release in OctoberNojoud Al Mallees (The Globe and Mail)
How much of my digital soul am I giving away by using "The Transit App?"
atleast where I live transit has all the metro and bus lines, and real-tike tracking of when the next bus/metro is, while osmand just has the metro and like 3 bus lines, so it's kinda useless for transit.
Osmand ia great for biking though.
I don’t know anything about that app aside from what it does, which is what wayze does and wayze was an Israeli spying cutout.
Just use a map and get on a stop or loop ahead of your appointment. I’m finding it hard to imagine a serious use for that app but it’s possible I just don’t understand.
German car industry sheds 51,500 jobs in a year
German car industry sheds 51,500 jobs in a year
The dip equates to almost 7% of the total workforce in the German auto sector. Faltering exports to China and the US play a role, as new tariffs raise barriers to entry in both these core markets.Mark Hallam (Deutsche Welle)
geneva_convenience likes this.
Putin’s Energy Wins in China Deal a Blow to Trump’s Export Push
Putin’s Energy Wins in China Deal a Blow to Trump’s Export Push
On his first day in office, President Donald Trump vowed he would establish US energy dominance over the globe. Seven months on, that goal is under threat as the world’s largest importer flexes its economic and geopolitical muscle.Bloomberg
I am going to Gaza with the flotilla.
Hi everyone.
I'm a member of the flotilla and preparing to leave for Gaza soon hopefully. A lot hanging on logistics and other things still but I will know more the coming days.
Had to start a new channel old one did not work properly youtube.com/@andersjohansson-o…
action_for_palestine@tankie.tube will only post post sailing here.
anders_gsf@tankie.tube for the trip
Sorry for the changes had to switch up on the phones a bit.
We will set sail in September. I hope to be be able to update a bit on these channels and setting up new accounts for this purpose.
Any tips, shares and discussions are welcomed and I hope to be be able to update on the journey a bit here.
Official updates will be made from official accounts but this will be my personal experience and as a backup for when other communications no longer are available.
Palestine will be free!
Official channels:
globalsumudflotilla.org/
X -
@gbsumudflotilla in
stagram -
globalsumudflotilla
Telegram -
@globalsumudflotilla
youtube.com/@globalsumudflotil…
tiktok.com/@globalsumudflotill…
I am currently as reserv and helping out , not sure if I will be able to sail. I hope so but a lot of things to happen before a decision there.
Barcelona just had a press conference announcing departure
Got instagram @andersjohanssongsf
Anders Johansson
Official channels: https://globalsumudflotilla.org/ X - @gbsumudflotilla in stagram - globalsumudflotilla Telegram - @globalsumudflotilla https://www.youtube.com/@globalsumudflotilla https://www.tiktok.com/@globalsumudflotillaYouTube
Hi , so I still can't update much more but to say we have been delayed. A lot of work do to here and amazing people to meet . Huge support from the locals here in Italy. The dockworkers union will stop all Isreal transports if any interference with the flotilla. As well as other actions from university groups and others.
When I applied for this my thoughts was that the likely outcome would be interception . Now I'm getting more and more hopeful that we will actually be able to go all the way to Gaza.
DNS app asking for my location. How bad is that?
Well, for one, I'm not giving OP the piss for downloading the app. We all get suckered at one time or another. However, as I highlited, 1000 downloads, no reviews, and just someone’s name, is cause to pause and do some diligent searches regarding the app. If it were legit, most likely you'll find someone who has used the app and voiced their opinion. For instance, when I go to github, the first thing I want to see is when was the last activity, how many stars, how mature is the project, read the issue tracking section, etc. After a while you get a spidey sense about stuff.
Be cautious and verify.
Italian Dockworkers Threaten to ‘Shut Down All of Europe’ If Gaza Aid Flotilla Is Blocked | Novara Media
Italian Dockworkers Threaten to ‘Shut Down All of Europe’ If Gaza Aid Flotilla Is Blocked
A union representing dockworkers at one of the largest ports in the Mediterranean - a key stopping point for Israeli goods - has said it will ‘block everything’ if Israel stops the inbound aid flotilla. Polly Smythe reports.Novara Media
Israel has now destroyed 95% of most educational infrastructure in Gaza
Israel has now destroyed 95% of educational infrastructure in Gaza
Israel has directly hit 662 schools in Gaza, in what has been a blatant attempt to destroy the Strip's entire education systemAlaa Shamali (The Canary)
US attacks blow back, uniting China, India, Russia, Iran; encouraging dedollarization | Ben Norton
- YouTube
Profitez des vidéos et de la musique que vous aimez, mettez en ligne des contenus originaux, et partagez-les avec vos amis, vos proches et le monde entier.www.youtube.com
Gaza Genocide Provokes Anti-War Dissent Among Mormons
Gaza Genocide Provokes Anti-War Dissent Among Mormons - Inkstick
Campaigners are targeting the hearts, minds and multibillion-dollar investment fund of the Utah-based faith.Taylor Barnes (Inkstick Media)
As a former Mormon I find this mildly interesting, but I don't have much hope that large numbers of LDS people will begin to protest against the genocide. The pro-Israel thing is deeply embedded... as in, I'm pretty sure there are an awful lot of LDS people who will see the sacrifice of a million or two Palestinians, even if totally innocent, as a reasonable price to pay for God's Chosen People getting the Land Of The Covenant to usher in the Second Coming.
Even deeper than that: Mormons are mostly herd animals. Dissent has been trained out of them (unless the dissent is authorized by the First Presidency).
Alternatives to GrapheneOS
Wanted to get a new phone since my S20 is starting to show its age. And with all the enshitification of Android lately I thought it'd be good to try a different phone OS.
However, I don't really want to buy a Google Pixel so GrapheneOS is a no go. I was really interested in the Fold 7 but it seems that will not be possible to get without Android. Thought DivestOS was good but it looks like support ended in 2024.
What other phone OS are people using?
No, it is not.
They forked LinaegeOS, which is 0 security oriented, stripped it of all its private services (like Seedvault) and now want the user to pay a subscription for their non encrypted backup servers and a shitty DNS blocker
like this
Israeli official arrested in Las Vegas sex sting appears before judge via Zoom after fleeing U.S.
Israeli official barred from social media, minors after court hearing on child sex charge
Israeli government official Tom Alexandrovich appeared before a Henderson Court judge this morning via Zoom to discuss the conditions of his bail.Jane Davenport (KSNV)
Thirsty for power and water, AI-crunching data centers sprout across the West
Thirsty for power and water, AI-crunching data centers sprout across the West
With promises of jobs and hopes for tax breaks, server farms are reshaping local grids, plumbing, and politics. Are they a boon for communities, or a burden?& the West
‘The Voice of Hind Rajab’ Stuns Venice With Its Longest Standing Ovation of 22 Minutes Amid Tears and ‘Free Palestine’ Chants
“The Voice of Hind Rajab” premiere at the Venice Film Festival proved to be a hugely emotional event, with very few dry eyes in the Sala Grande.
One of the most talked-about films going into the festival, the powerful and gut-wrenching drama — from Tunisian director Kaouther Ben Hania — tells the true story of 5-year-old Palestinian girl Hind Rajab, who was killed in the early stages of the war in Gaza. The feature received a huge 22-minute standing ovation, the longest of the festival so far. As the ovation surpassed 20 minutes, and in a clear effort to get the room to disperse, the lights were dimmed in the theatre. The clapping continued.
Attendees in the crowd were holding up several Palestinian flags, and chants of “Free Palestine” rang out during the applause. Joaquin Phoenix and Rooney Mara, who are executive producers of the film, were in attendance and held a photo of Rajab on the red carpet with the filmmaking team. Phoenix also wore a Artists for Ceasefire pin.
Voice of Hind Rajab Venice Premiere Gets 22 Minute Standing Ovation
'The Voice of Hind Rajab,' one of the most powerful and political films in the Venice lineup, had a 22-minute, emotional standing ovation.Alex Ritman (Variety)
I've seen enough images of dead children in the last 23 months to last me ten thousand lifetimes.
Israel is a curse on humanity.
Microsoft mandates a return to office
Microsoft mandates a return to office
Microsoft is requiring its employees to return to the office. Employees near its headquarters will start returning in late February, ahead of other offices.Tom Warren (The Verge)
Yep. This is NATO bombs and NATO planes, Provided through the NATO logistics by NATO countries.
Israel does not produce their weapons in house. They design weapons for NATO and then test them on Palestinians.
This genocide is committed by NATO.
Are private email providers worth it?
I think I know the answer, bit maybe I'm missing something
Since proton only sends and receives encrypted emails to other proton accounts, that means that when you get or send an email to someone else, they have to send / receive unencrypted and there is no way for us to verify what they are doing. Right?
Also if most accounts are google Microsoft, they still get 90% of my emails. By switching to proton I think I've gained nothing, while losing convenience , added another trust point, and having two different companies have my data instead of just one
Proton drive, calendar and VPN I think are fine
Sorry for the poor syntax. I'm at work working on email related things, and this topic kept distracting me. I might correct it later
I wouldn't say you have gained nothing. The amount of data provided to google or microsoft when using their email is significantly more. For example, your app or client is checking email all of the time, giving them telemetry on your location and activity, all your devices, 24/7. Google logs and analyzes all of your interactions with Gmail's web pages, how long you have certain emails open for, what you don't bother to open, what you tag as important, etc.
Much of the one-way email you sign up for from companies and organizations come from smaller outfits like sendgrid or their own infrastructure, so you are cutting google out of information about your associations and interests.
Also, in regards to that 90%, you can either be part of the problem for all your contacts, or part of the solution. The network effect is huge.
1. don't use email, that's the ideal solution
2. use a provider like cock.li and send messages encrypted with pgp. this isn't ideal, pgp leaks a lot of data and cock.li gets sinkholed by most email providers.
3. use proton and encrypt emails with pgp, you have not much privacy but it's less worse than microsoft and not much convenience loss, except that proton doesn't allow email clients(at least if you don't pay), I don't know about ms).
they pretty much always collaborate with the police
a corporation is a legal extension of the state, hence why all of them will always collaborate when ordered by the courts or otherwise required by law.
some will even collaborate when they are not required by law such amazon ring providing pigs access for no reason, facebook censoring content per request of US or Israel... needless bullshit but hey it helps get government contracts ;)
bottom line, expecting corpo to do anything for you for 5 bucks a month is naive, at best they should not do it for no reason and they should not sell your data.
but even that is a tall order for these parasites.
ChaoticNeutralCzech
in reply to ChaoticNeutralCzech • • •