harumph!<br><br>I have a ~/bin on the multiple machines that I grep through for scripts of interest. Sadly it's all very, very specific so of no use on any other system.<br><br><div class="gmail_quote">On Mon, Mar 21, 2011 at 9:08 AM, James Sumners <span dir="ltr"><<a href="mailto:james.sumners@gmail.com">james.sumners@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Yay for VCS religion wars!<br>
<br>
Mercurial FTW! <a href="https://bitbucket.org/jsumners" target="_blank">https://bitbucket.org/jsumners</a><br>
<div class="im"><br>
On Mon, Mar 21, 2011 at 12:01 AM, Michael Trausch <<a href="mailto:mike@trausch.us">mike@trausch.us</a>> wrote:<br>
</div><div><div></div><div class="h5">> Hrm. Except that I strongly dislike git, and thus use the (in this case)<br>
> GNU's DVCS, bzr. ;-)<br>
><br>
> --<br>
> Sent from my phone... a G2 running CM7 nightlies!<br>
><br>
> On Mar 20, 2011 11:54 PM, "Richard Bronosky" <<a href="mailto:Richard@bronosky.com">Richard@bronosky.com</a>> wrote:<br>
>> For this kind of thing, you really ought to be using github. Even if you<br>
>> never host a full open source project, for something like this you post a<br>
>> "gist". For example, here is one of mine:<br>
>> <a href="https://gist.github.com/806251That" target="_blank">https://gist.github.com/806251That</a> will open you up to an entire<br>
>> community of people who can "fork" your<br>
>> scripts and post their changes. I often use it for oneliners that I want<br>
>> to<br>
>> keep handy, like my evil: <a href="https://gist.github.com/422582" target="_blank">https://gist.github.com/422582</a> But I also use it<br>
>> to host things as simple as a single line of code that I often want to<br>
>> reuse, like: <a href="https://gist.github.com/570492" target="_blank">https://gist.github.com/570492</a><br>
>><br>
>> Do that enough and you will eventually have so many code patterns in your<br>
>> toolkit that you can make an open source repo out of them, like:<br>
>> <a href="https://github.com/RichardBronosky/tools/tree/master/bash.patterns" target="_blank">https://github.com/RichardBronosky/tools/tree/master/bash.patterns</a><br>
>><br>
>> The point is this: If you write code, any code, you should be on github.<br>
>><br>
>> On Sun, Mar 20, 2011 at 11:04 AM, Ron Frazier<br>
>> <<a href="mailto:atllinuxenthinfo@c3energy.com">atllinuxenthinfo@c3energy.com</a><br>
>>> wrote:<br>
>><br>
>>> Hello all,<br>
>>><br>
>>> I've written my first Linux shell script as follows and saved it on the<br>
>>> Desktop under the name Check Big Files and given it execute permission.<br>
>>> I double click on it, the system asks whether to display or run it, and<br>
>>> I say run.<br>
>>><br>
>>> echo "Files larger than 100 MB starting from /." > file_list.txt<br>
>>> echo "Excluding /swapfile, /sys/devices, and /proc." >> file_list.txt<br>
>>> echo -n "Computer name: " >> file_list.txt<br>
>>> uname -n >> file_list.txt<br>
>>> echo " " >> file_list.txt<br>
>>> date >> file_list.txt<br>
>>> echo " " >> file_list.txt<br>
>>> find / -type f -size +100M | grep -v /swapfile | grep -v /sys/devices |<br>
>>> grep -v /proc >> file_list.txt<br>
>>> echo " " >> file_list.txt<br>
>>> date >> file_list.txt<br>
>>> gedit file_list.txt<br>
>>><br>
>>> It works very nicely, and give's me an instant report on large files in<br>
>>> my system. You guys can tell me if you think anything needs changing to<br>
>>> improve it. Anyone is welcome to use the script for their own<br>
>>> purposes. If you publish it somewhere, give me the credit. Here's what<br>
>>> it does.<br>
>>><br>
>>> 1) Delete file_list.txt if it exists.<br>
>>> 2) Create file_list.txt and put some headers, the computer name, and the<br>
>>> date in it.<br>
>>> 3) Find all files > 100 MB in size starting from / and list them in the<br>
>>> text file, while excluding /swapfile, /sys/devices, and /proc.<br>
>>> 4) Append the date to the end of the file.<br>
>>> 5) Display the text file.<br>
>>><br>
>>> I have a question. How would I force it to execute immediately, rather<br>
>>> than asking if I want to display it or run it?<br>
>>><br>
>>> Sincerely,<br>
>>><br>
>>> Ron<br>
>>><br>
>>> --<br>
>>><br>
>>> (PS - If you email me and don't get a quick response, you might want to<br>
>>> call on the phone. I get about 300 emails per day from alternate energy<br>
>>> mailing lists and such. I don't always see new messages very quickly.)<br>
>>><br>
>>> Ron Frazier<br>
>>><br>
>>> <a href="tel:770-205-9422">770-205-9422</a> (O) Leave a message.<br>
>>> linuxdude AT <a href="http://c3energy.com" target="_blank">c3energy.com</a><br>
>>><br>
>>> _______________________________________________<br>
>>> Ale mailing list<br>
>>> <a href="mailto:Ale@ale.org">Ale@ale.org</a><br>
>>> <a href="http://mail.ale.org/mailman/listinfo/ale" target="_blank">http://mail.ale.org/mailman/listinfo/ale</a><br>
>>> See JOBS, ANNOUNCE and SCHOOLS lists at<br>
>>> <a href="http://mail.ale.org/mailman/listinfo" target="_blank">http://mail.ale.org/mailman/listinfo</a><br>
>>><br>
>><br>
>><br>
>><br>
>> --<br>
>> .!# RichardBronosky #!.<br>
><br>
> _______________________________________________<br>
> Ale mailing list<br>
> <a href="mailto:Ale@ale.org">Ale@ale.org</a><br>
> <a href="http://mail.ale.org/mailman/listinfo/ale" target="_blank">http://mail.ale.org/mailman/listinfo/ale</a><br>
> See JOBS, ANNOUNCE and SCHOOLS lists at<br>
> <a href="http://mail.ale.org/mailman/listinfo" target="_blank">http://mail.ale.org/mailman/listinfo</a><br>
><br>
><br>
<br>
<br>
<br>
--<br>
</div></div>James Sumners<br>
<a href="http://james.roomfullofmirrors.com/" target="_blank">http://james.roomfullofmirrors.com/</a><br>
<br>
"All governments suffer a recurring problem: Power attracts<br>
pathological personalities. It is not that power corrupts but that it<br>
is magnetic to the corruptible. Such people have a tendency to become<br>
drunk on violence, a condition to which they are quickly addicted."<br>
<br>
Missionaria Protectiva, Text QIV (decto)<br>
CH:D 59<br>
<div><div></div><div class="h5"><br>
_______________________________________________<br>
Ale mailing list<br>
<a href="mailto:Ale@ale.org">Ale@ale.org</a><br>
<a href="http://mail.ale.org/mailman/listinfo/ale" target="_blank">http://mail.ale.org/mailman/listinfo/ale</a><br>
See JOBS, ANNOUNCE and SCHOOLS lists at<br>
<a href="http://mail.ale.org/mailman/listinfo" target="_blank">http://mail.ale.org/mailman/listinfo</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>-- <br>James P. Kinney III<br>I would rather stumble along in freedom than walk effortlessly in chains.<br><br><br>