#!/usr/bin/perl
#Doug Weyrauch
#doug@gogeek.org
#9/9/2001
#This file renames all the mail files in Maildir/cur to the 10-digit number
#since there have now been a billion seconds according to the unix clock.
#And since qmail names its mail files according to this, we need a
#leading zero (0) so that your new mail isn't listed before the old mail
#(at least for pine and some other programs).
use File::Copy;
$dirname="Maildir/cur";
opendir(DIR,$dirname) or die "can't opendir $dirname: $!";
print "Backing up current mail directory Maildir/cur just in case\n";
system("cp -r $dirname Maildir/curbakup");
@list = grep {/^9.*$/ } readdir(DIR);
foreach $item (@list)
{
print "$item will be changed to 0$item\n";
move("$dirname/$item", "$dirname/0$item") or die "copy failed: $!";
}
The only reason i don't have sound on my Slack workstation is because i have the soundblaster Live! and most of the drivers are in beta. However i found some drivers that are supposedly pretty sweet at www.alsa-project.org.
I also haven't delved into X all that heavily since I, too, am more of a "command-line" type of guy. But I have installed X, Gtk, Glibc2, and Gnome from scratch without any dependency issues or seg-faults.
As far as killing just one service, the kill and killall commands work just fine for me.
=================================== --Emptiness is loneliness and loneliness is cleanliness and cleanliness is godliness and god is empty, just like me.
#!/usr/bin/perl
/^9.*$/ } readdir(DIR);
#Doug Weyrauch
#doug@gogeek.org
#9/9/2001
#This file renames all the mail files in Maildir/cur to the 10-digit number
#since there have now been a billion seconds according to the unix clock.
#And since qmail names its mail files according to this, we need a
#leading zero (0) so that your new mail isn't listed before the old mail
#(at least for pine and some other programs).
use File::Copy;
$dirname="Maildir/cur";
opendir(DIR,$dirname) or die "can't opendir $dirname: $!";
print "Backing up current mail directory Maildir/cur just in case\n";
system("cp -r $dirname Maildir/curbakup");
@list = grep {
foreach $item (@list)
{
print "$item will be changed to 0$item\n";
move("$dirname/$item", "$dirname/0$item") or die "copy failed: $!";
}
closedir(DIR);
Glothar,
The only reason i don't have sound on my Slack workstation is because i have the soundblaster Live! and most of the drivers are in beta. However i found some drivers that are supposedly pretty sweet at www.alsa-project.org.
I also haven't delved into X all that heavily since I, too, am more of a "command-line" type of guy. But I have installed X, Gtk, Glibc2, and Gnome from scratch without any dependency issues or seg-faults.
As far as killing just one service, the kill and killall commands work just fine for me.
===================================
--Emptiness is loneliness and loneliness is cleanliness and cleanliness is godliness and god is empty, just like me.