These are public posts tagged with #files. You can interact with them if you have an account anywhere in the fediverse.
Sometimes, all you need is a little terminal tool to be happy.
**regname** — Mass rename files.
That's it... it does what it says.
Written in Rust & built with @ratatui_rs
GitHub: https://github.com/linkdd/regname
#rustlang #ratatui #tui #files #terminal #commandline #rename #productivity
Bash scripting 18 – Using data files 4
So, carrying on from the previous article(s). I am going to be using gnuplot to display the data. I found a useful site, that has examples of how to use the software, from basic to more advanced examples.
Notes: As with bash gnu plot has command history, so you can use arrow keys to move up / down between previously entered commands.
Based on the information at [2] we can produce a very basic plot of what is in log.csv
Load GNUPlot
gnuplot
and enter
plot 'log.csv'
This example isn't all that good really, but it at least produces some output. I have modified one of the examples further down that page
plot 'log.csv' using 1:2 with lines, 'log.csv' using 1:2 with lines
So the following data set
0, 1
1, 10
2, 10
3, 7
4, 2
5, 1
6, 15
7, 0
8, 19
9, 3
Should produce something like
Adding extra columns
We probably need more than two columns. This is easily done by modifying the loop in the script gendata1.csv. It is a good idea to copy this to a new script so it keeps the original as is
cp gendata1.sh gendata2.sh
As gendata1.sh has write permissions, these will be preserved in the new copy of the file. We can now edit gendata2.sh
echo "number" "data" # for reference, not written to file
for ((i = 0 ; i < 10 ; i++)); do
echo $i, $((RANDOM % 20)), $((RANDOM % 20)) # echo to screen (stdout)
echo $i, $((RANDOM % 20)), $((RANDOM % 20)) >> log.csv # write to file
#write_csv $(($i, $RANDOM % 10))
done
So all we are doing here is adding in, note the comma
, $((RANDOM % 20))
As the only difference between the lines
echo $i, $((RANDOM % 20)), $((RANDOM % 20)) # echo to screen (stdout)
echo $i, $((RANDOM % 20)), $((RANDOM % 20)) >> log.csv # write to file
Is that the first line, writes to the screen, it may be better to test the script out, check it does what you want, then modify the line that writes to a file once you are happy.
References
Tags
#Bash,#Bashscripting,#Files,#UsingDataFiles,#Data,#gnuplot,#graphs
MastodonPeertubeJoin MastodonAI statement : Consent is NOT granted to use the content of this blog for the purposes of AI training or similar activity. Consent CANNOT be assumed, it has to be granted.
$ files = ("file1" "file2" "file3")
$ echo ${files[0]}
file1
$ echo ${#files[@]} # get count
3
Files produced by apps are your devices are under your command and can’t be taken away. That's not the case with many of the online services we rely on. People are now reckoning with the trade-offs of a file-free future.
#storage #files #apps
https://www.pcworld.com/article/2650724/youll-take-my-personal-files-from-my-cold-dead-hard-drive-heres-how-to-save-yours.html
A look at the importance of local computer files and…
PCWorld“WHY BEN SHAPIRO AND PRO-ISRAEL PUNDITS ARE MELTING DOWN OVER THE JFK FILES”
By Robert Inlakesh in Mint Press News
“President Donald Trump’s decision to release previously classified JFK assassination files has sent pro-Israel conservative pundits into damage-control mode as renewed scrutiny falls on a potential Israeli motive in the killing of the 35th U.S. president”
#Press #US #Trump #JFK #Classified #Files #ProIsrael #Zionist #MeltDown
The JFK files have rattled pro-Israel commentators,…
MintPress NewsI am proud to announce that my Macintosh Magazine Media project has surpassed my self-imposed goal of 1 MILLION FILES, an achievement that fills me with both immense satisfaction and slight bewilderment. #marchintosh #macintosh #preservation #cdrom #files
https://blog.gingerbeardman.com/2025/03/28/macintosh-magazine-media-1-million-files/
Windows 11 has a new preview build that improves performance with extracting files from compressed ZIPs. Unzipping now happens faster in File Explorer, particularly with ZIPs crammed with a ton of small files.
#microsoft #windows11 #zip #files
https://www.techradar.com/computing/windows/windows-11-should-soon-be-faster-at-extracting-files-from-compressed-zips-and-its-about-time-frankly
Performance with ZIPs in File Explorer, particularly…
TechRadarThank you for your talk suggesting strategies for managing data on local file systems.
#workflows #data #files #filenames #tags #python #tools #linux #windows #macos
I've been an #editor for many years, and I still learn new things about #editing and #Microsoft #Word all the time. This one's from my colleague Adrienne Montgomerie: "Shrink #Files by Deleting Unused #Styles." Go read her helpful post! https://eiw365.com/shrink-files-by-deleting-unused-styles/
I'm giving away 5 free license keys of my advanced file manager Ant Commander Pro for the best feedback that would result in me implementing a part of the feedback in the file manager (bug/feature).
Valid this month and next month.
www.antcommander.com
#free #giveaway #filemanager #files #software #windows #macos #linux
Friendly reminder that you can use images to customize folders
I like to use emoji (converted in .ico format) because they are consistent and cover many subjects
I use fluent emoji https://github.com/microsoft/fluentui-emoji but there are some great artist with cool emoji packs out there !
#emoji #icons #files #organisation #customisation #OpenSource #computer #windows #tip #cute
https://indivisible.org/resources
#USA #US #politics #USpol #USpolitics #USpolitics2025 #Trump #DJT #BoycottAmerica #American #Americans #conservative #conservatives #liberal #liberals #left #lefty #leftist #MutualAid #explainer #document #media #file #files #Resist #ResistEverywhere #Resist47 #hierarchy #HierarchicalThinking #DestroyAllHierarchies #anarchist #EqualOpportunities #EqualRights #HumanRights #OHCHR #UN #CommissionOnHumanRights #HumanRights #Indivisible #IndivisibleUS #VeRantDa #VeRamble #VeRantDo
Knowing how to hide files & folders from view on Windows 11 can be really useful. These files won’t pop up during normal file browsing, and they’ll be difficult to find even if someone is specifically looking for them.
#microsoft #windows11 #hide #files
https://www.theverge.com/how-to/604098/windows-files-folders-hidden-how-to
If you want to keep your files and folders hidden,…
The VergeI plugged a USB key into the Internet Box, formatted it, set up an FTP, and now I can send/receive stuff from all the machines with just a terminal/command line.
I love this old fashion method! :0)
And I save miles and time. :0))
#simplicity #efficiency #usb #ftp #server #internetbox #localhost #lan #files #share #terminal #commandline #internetbox #linux #msdos
In de categorie ‘je ziet het niet aankomen’
Recordaantal #files op de Vlaamse wegen in 2024
https://www.demorgen.be/snelnieuws/recordaantal-files-op-de-vlaamse-wegen-in-2024~b88acc6d/
Если задаётесь иногда вопросом как быстро и безопасно передать файл(ы) по сети peer-to-peer - посмотрите на Magic Wormhole. А точнее на его альтернативные реализации - всё-таки оригинал написан на Python
Например, для CLI это может быть wormhole-william на Go или wormhole.rs догадайтесь на чём.
Если нужен GUI, то это будет Rymdport или RiftShare. Оба есть в Flatpak. Второй недавно перешёл в состояние Read-Only. Первый жив и развивается - возможно, сейчас там уже нет тех мелких косячков, которые меня напрягали когда я тестировал его.
Есть версии и для смартфонов.
Естественно, они все используют один общий протокол и позволяют если нужно использовать свой релей.
Штука достаточно универсальная, поэтому иногда использую чтобы перекинуть файлы игры между машинами в сети или же стащить с сервера огромный бекап базы данных.
https://www.europesays.com/1750159/ Automobilisten langer onderweg, vooral veel reistijd in Amsterdam #Auto #files #Nederland #netherlands #Nieuws #reistijd #TomTom #wegwerkzaamheden
Does anyone have experience with an error on #Linux relating to too many open files? I have increased the limit passed the hard limit and I am still getting the issue, even though my system isn't even using 50% of the RAM it has available.
#server #selfhosting #selfhost #linux #files #toomanyfiles #support #help