Displaying 20 results from an estimated 10000 matches similar to: "Need to split long lines in mail archives"
2005 Aug 12
4
Remote archiving with tar over ssh
I am trying to create a one line command that will:
1. Find all files ending in .conf
2. tar these over ssh to a remote server.
I have reached this point in my trials.
a. I can find the files.
b. I can tar them locally.
c. I can get a simple fileset tar'ed to a remote server over ssh
using tar -zvcf - /some/fileset | ssh host.domain.tld "cat >
/backup/tarfile.tar.gz
d. I cannot
2005 Feb 08
6
help with xargs and mv
I am trying to move a group of sendmail queue files into a special
area and am developing s script to assist. The manual steps are:
# Identify which messages to move
mailq -qR<domain> > file1
# Select only lines with message ID strings
grep '^[[:alpha:]][[:alnum:]]\{13\}' file1 > file2
# extract only the messages ID
cut -b -14 file2 > file3
# prepend '*' to
2015 Jun 16
4
NUX Skype for Linux
I had cause to install the Skype for Linux package from the NUX repo.
I discover that this package is configured to automatically start
Skype whenever one logs on to the Gnome desktop. This behaviour I do
not wish. However, there seems to be no option in Skype to turn that
'feature' off. Is there any way to disable this in Gnome or elsewhere?
I will be removing Skype shortly when the
2010 Jan 23
8
The directory that I am trying to clean up is huge
The directory that I am trying to clean up is huge . every time get this
error msg
-bash: /usr/bin/find: Argument list too long
Please advise
Anas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos/attachments/20100123/f6534851/attachment-0001.html>
2020 May 31
4
Simple backup of maildir folder
On 29 May 2020, at 23:49, Admin Beckspaced <admin at beckspaced.com> wrote:
> I also have maildir as mailbox format and use the following script to do daily backups
>
> https://github.com/tachtler/dovecot-backup
A couple of notes on this quite useful script:
My mktemp does not support -p (FreeBSD 12.1) is I had to change the script to:
DIR_TEMP=$($MKTEMP_COMMAND -d $TMP_FOLDER
2012 Jan 16
4
VirtIO disk 'leakage' across guests?
We are in the process of migrating several stand-alone
server hosts onto a CentOS-6 kvm virtual host. We also
use Webmin to administer our hosts. All of the guests,
without exception, have been cloned brom a prototype guest
using virt-manager. All of the additional VirtIO disks
assigned to some of the guests have been added through
virt-manager as well.
Recently I have encountered a situation
2012 Jan 16
4
VirtIO disk 'leakage' across guests?
We are in the process of migrating several stand-alone
server hosts onto a CentOS-6 kvm virtual host. We also
use Webmin to administer our hosts. All of the guests,
without exception, have been cloned brom a prototype guest
using virt-manager. All of the additional VirtIO disks
assigned to some of the guests have been added through
virt-manager as well.
Recently I have encountered a situation
1998 Mar 14
1
Vunerable shell scripts
I made a list of /usr/bin scripts which allows /tmp races. Following
ones creates /tmp/something.$$, then, with no
permission/ownership checking, /tmp/something.$$.x (x may vary
;), or even performs suitable checks, but gives enough time to alter /tmp
contents: glibcbug, bashbug, znew, mailstat, autoupdate, x11perfcomp,
gccmakedep, pnmindex, xcopy, autoheader, cvsbug, rcs2log, updatedb, igawk,
2005 Aug 12
2
CentOS] Remote archiving with tar over ssh
>
On Fri Aug 12 17:14:00 UTC 2005 Paul Heinlein heinlein at madboa.com
wrote:
>
> How about
>
> tar c $(find / -name \*.conf) | ssh host.com "gzip -c > file.tar.gz"
Thank you very much, this worked. I have two supplementary
questions. First, what is the significance of the $() construct in
bash and how does it interact with tar? Does it take the place of
2008 Apr 13
20
uninitialized constant
Hi guys, I''m part way through a RoR application, for some reason
whenever I add new controllers (using scaffold) I get an uninitialized
constant [name of controller] error.
The first few controllers work fine, the only thing I can see that I''ve
changed is the layout file (but scaffold creates a new layout for each
controller so can''t see that being the problem). You
2011 Apr 13
1
strategy for writing out file with lines header initiated with comment sign
Dear all,
I have data.frame object in R. I want to export it in tab-delimited
file with several lines of header initiated with comment sign (#). I
do not know how to do that in R. Could you please give helps on this
problem?
Thanks in advance.
Best,
Jian-Feng,
##################################################################
The lines I want to write in the header lines look like, with words
2007 Nov 24
5
rspec.opts
Where can I find a list of the options and their usage and meanings for
the contents of this file?
Regards,
--
*** E-Mail is NOT a SECURE channel ***
James B. Byrne mailto:ByrneJB at Harte-Lyne.ca
Harte & Lyne Limited http://www.harte-lyne.ca
9 Brockley Drive vox: +1 905 561 1241
Hamilton, Ontario fax: +1 905 561 0757
Canada
2010 Jan 25
1
[Fwd: Re: The directory that I am trying to clean up is huge]
On Sat, January 23, 2010 20:21, Robert Nichols wrote:
> Robert Heller wrote:
>
> Gosh, then I guess the manpage for 'find' must be totally wrong
> where it
> says:
>
> -exec command ;
> ...
> The specified command is run once for each matched
> file.
>
Not wrong, just not very explicit regarding process. The man page
2020 Jul 07
3
Can someone explain why host reports no SOA record for domain on DC?
[root at smb4-1 ~ (master)]# samba-tool dns query localhost brockley.harte-lyne.ca
brockley.harte-lyne.ca ALL -U administrator
Password for [BROCKLEY\administrator]:
Name=, Records=4, Children=0
SOA: serial=3, refresh=900, retry=600, expire=86400, minttl=3600,
ns=SMB4-1.brockley.harte-lyne.ca., email=hostmaster.brockley.harte-lyne.ca.
(flags=600000f0, serial=110, ttl=3600)
NS:
2013 Sep 16
3
easy BASH question
I am obviously missing something basic here but can someone explain to me what
is wrong with the first statement, which returns nothing?
$ history | grep ^su
$ history | grep su
2997 su -l
3024 su -l
3050 su -l
3054 su -l
Thanks,
--
*** E-Mail is NOT a SECURE channel ***
James B. Byrne mailto:ByrneJB at Harte-Lyne.ca
Harte & Lyne Limited
2010 Sep 13
7
Problem with SSHD update.
This morning I applied the 13 or so new updates to my servers. On
one of them the ssh service and clients stopped working immediately
after the update. I restarted the server in anticipation that there
might be some instability introduced by updating on a system with
active ssh connections. However, this has not cleared the problem.
The packages in question are:
openssh.i386
2014 Dec 02
7
Help with at Bash script
I am attempting to get a script borrowed from DJB to work on my CentOS-6.6
box. Simplified it looks like this:
tcpdump -l -n -e port 53 \
| awk '{if ($14 ~ /A.*?/) print $15}' \
| while read domain ; do echo $domain ; done ;
The sticking point is the 'while read' construct. Run just as 'tcpdum | awk'
I get this:
english.stackexchange.com.
www.urbandictionary.com.
2006 Jan 25
8
conditional replacements in rhtml
I am working on the Agile programming tutorial and trying out some
ruby code. Can someone tell me why the following works:
<h1>Display Cart</h1>
<p>
Your cart currently holds <%= @items.size %>
<%= @items.size == 1 ? "item" : "items" %>.
</p>
while this does not?
<h1>Display Cart</h1>
<p>
Your cart currently
2005 Dec 01
5
Configuring X after instal on CentOS4
What is the name of the program that replaces Xconfigurator and
XF86Setup for resetting video display values for X post-install?
Regards,
Jim
--
*** e-mail is not a secure channel ***
mailto:byrnejb.<token>@harte-lyne.ca
James B. Byrne Harte & Lyne Limited
vox: +1 905 561 1241 9 Brockley Drive
fax: +1 905 561 0757 Hamilton, Ontario
2011 Jun 13
6
CentOS-6 Status updates
I just want to say that I really, really, appreciate the information
given on this site:
http://qaweb.dev.centos.org/qa/calendar
--
*** E-Mail is NOT a SECURE channel ***
James B. Byrne mailto:ByrneJB at Harte-Lyne.ca
Harte & Lyne Limited http://www.harte-lyne.ca
9 Brockley Drive vox: +1 905 561 1241
Hamilton, Ontario fax: