find | xargs is usually better but in some cases wont work (when the absolute / relative to start point path is too long)
i tried this
i=0;while mkdir dirname$i;do cd dirname$i;touch filename$i;i=$(($i+1));echo -n $i.;done
DO NOT TRY THAT ON...
find .... | xargs rm is typically a lot more efficient than trying to delete individual files one by one.
Also note that if the pool is full, or almost full, performance is horrendous, even for deleting files.
The Amiga had CPU boards available with their own RAM, which was faster accesable than the one on the Mainboard. So if you had the slower memory on the main board or RAM expansion boards mapped as a RAM Disc, you could swap the faster memory out...
find | xargs is usually better but in some cases wont work (when the absolute / relative to start point path is too long)
i tried this
i=0;while mkdir dirname$i;do cd dirname$i;touch filename$i;i=$(($i+1));echo -n $i.;done
DO NOT TRY THAT ON...
find .... | xargs rm is typically a lot more efficient than trying to delete individual files one by one.
Also note that if the pool is full, or almost full, performance is horrendous, even for deleting files.
Hobby, small projects, even big projects.
I wanted to know how Mercurial scaled up to Git, even for big projects. It relies on Python, which is ok. That depends on embedded use.
I believe that's closed source, but allowed for open source...
I like to second ralphbsz's post:
What's 'old', 'new', or formerly or currently used on FreeBSD ain't enough to say what could be useful - 'good or worse'.
Also there cannot be drawn a line clearly, since depending on the software those neither...
What are your requirements? One developer, dozens, tens of thousands? How big is your repository? Do you need to store binaries in the repository? Do you need security and access control? Is it going to be used within a single closed environment...
http://www.asteriskdocs.org/ - CC available book on older version of Asterisk PBX
https://developer.signalwire.com/freeswitch/FreeSWITCH-Explained/Miscellaneous/Users-Guide-Introduction_9633805/ - FreeSwitch.com redirects to...
Version control system (VCS) is a method of tracking and distributing file changes over a computer and network. Tags: https://forums.freebsd.org/tags/vcs/
VCS use on FreeBSD
until 2006, from BSDCan 2006...
Hi all -
I have a directory containing an unknown number of files - at least 35K at one point. I would like to delete the directory, but every method I've tried runs indefinitely (> ~12 hours), hangs, or runs out of memory. The directory is on a...
Run this to sign your bootloader:
cd /boot && sh /usr/share/examples/uefisign/uefikeys testcert && uefisign -c testcert.pem -k testcert.key -o signed-binary loader.efi
Then open your BIOS and follow whatever chain of clicks to enroll loader.efi...
I'm not sure if I did talk about that already earlier, search doesn't find a thing (but my search-fu isn't currently well developed, anyway).
With our code development, we have version control systems like SVN or GIT. They record all changes to...
That would be reassuring if I saw different IP addresses pummeling my port 25. I issued this command:
tcpdump -n -e -ttt -i pflog0 port 25
And what I got for a solid hour, repeating 4x every 30 seconds was this. No other IPs.
00:00:00.000000...
For FreeBSD development? Use what the project uses. Which is, as of a few months ago (the transition is in progress right now), git.
For development where you are a small gear in a big gearbox (like a software engineer employee in a big...
The git commandline interface sucks. Like a heroin-addicted hooker who hasn't had a shot in a week and just got her first customer.
For Windows, there's tortoiseGIT, which is based on tortoiseSVN ('nuff said 'bout that I would say, tortoiseSVN...
That is why I believe that a distributed tool is better than a centralized one. Moreover, while it probably does not happen to real programmers, I found myself often doing a commit and immediatly after changing the same because of some regression...
Using devel/git at home to manage several websites with development done on several machines. At work we use devel/csv but are gradually switching to devel/mercurial for new projects.
The main advantage from both git and mercurial is in my...
I like devel/fossil.
http://www.fossil-scm.org/index.html/doc/trunk/www/index.wiki
http://stackoverflow.com/questions/156322/what-do-people-think-of-the-fossil-dvcs
So far I have always used CVS for my personal projects, but FreeBSD's recent switch to Subversion is perhaps a good incentive to reevaluate, or at least to see what else is out there. So, which do you prefer and why: CVS, Bazaar, SVN, Git...
If you wanna print to PDF on FreeBSD, CUPS is all you need, no need for a hardware printer to work under CUPS.
I'd suggest doing research to see if the specific printer model is supported by CUPS. If it is, then OP can print.
If OP's printer...
I think that this is correct, and that /usr/local/share/cups/mime/mime.convs should cover for these cases, although TBH I dealt only with HP desktop printers (and Lexmark, but that's Xerox now), rest of my experience is only with pro grade, which...
I use fossil for anything that will outlive the current environment and git for /etc.
As root:
cd /etc
git init
git add .
git commit -m "initial commit"
Make lots of changes, then git diff, then:
cd /etc
git add .
git commit -m "made a lot...
Original article here.
Consider this when replying.
FreeBSD, The FreeBSD Foundation, and The FreeBSD Forums are not associated with the content of this article.
For anyone else reading this now, a couple of months later, I have just upgraded from 14.2 to 14.3 on my thinkpad X201 which uses the i915 graphics, the following sequence worked for me without any problems (after first updating to the latest...
I'm very glad that you found solution, and that your script works, just one question: did AI recommended using awk? In my experience with AI (which is not huge, TBH) it tends to bring out heavy artillery even when there is no actual need for...
Thanks to both of you for the helpful tips!
In the end, I created this script (with a little help from AI):
$ cat /root/default_sound_scripter.sh
#!/bin/sh
# Extract the pcm number for Plantronics
plantronics_pcm=$(cat /dev/sndstat | grep...
Thanks to both of you for the helpful tips!
In the end, I created this script (with a little help from AI):
$ cat /root/default_sound_scripter.sh
#!/bin/sh
# Extract the pcm number for Plantronics
plantronics_pcm=$(cat /dev/sndstat | grep...
You may be able to leverage devd to match on the desired device and sysctl to set it to the default.
Heres a sample that I use to set permissions on a Nikon D610 when it's plugged in. It lives in /usr/local/etc/devd/d610.conf. Change the vendor...
That would be nice. You would need functioning Republic for that. Not majority, unable to cope with responsibility, voting for foxes. Who will turn it in to Feudalism i.e. a few families or tribes dominating the rest unable to resist, because...
This is a different way of looking at the problem I am chasing under previous post
ine the linked post I stated some of my conclusions but they are my conclusions not far
this SEEMS to point at
CRON
repeats every five minutes. BUT my...
All instances of rustdesk-server and clients have been stopped now for 15 hours and the port 25 probes by 196.251.92.51 continue with the same intensity.
Original article here.
Consider this when replying.
FreeBSD, The FreeBSD Foundation, and The FreeBSD Forums are not associated with the content of this article.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.