smd-client(1) Sync Mail Dir (smd) documentation smd-client(1)NAME
smd-client - receives diffs and performs actions
SYNOPSIS
smd-client [-v|--verbose] [-d|--dry-run] [-t|--translator]
[-l|--local-sync] [--rename-only]
[--override-db dbf] endpoint mailboxes
DESCRIPTION
smd-client needs to know a name (endpoint) for the client (that must not be used by others) and a list of mailboxes (directories).
smd-client waits on stdin a mail dir diff. It attempts to execute these actions, eventually asking data printing commands on stdout and
expecting the data on stdin.
OPTIONS -t --translator
Specify a program to translate remote mailbox names to local ones. Note that the translator 'cat' (the identity program) is opti-
mized away
-l --local-sync
Local synchronization, no changes is made to the db-file since smd-server takes care of it
--rename-only
Do not synchronize the mailboxes but generate the script '~/smd-rename.sh' to uniform the files names in the mailbox
--override-db dbf
Use dbf as the db-file
-v --verbose
Increase program verbosity (printed on stderr)
-d --dry-run
Do not perform any action for real
NOTES
smd-client is a low level utility. You should use higher level tools like smd-pull(1) and smd-push(1)SEE ALSO mddiff(1), smd-server(1), smd-pull(1), smd-push(1)AUTHOR
Enrico Tassi <gares@fettunta.org>
11 June 2012 smd-client(1)
Check Out this Related Man Page
smd-push(1) Sync Mail Dir (smd) documentation smd-push(1)NAME
smd-push - syncs the remote mail dir letting the local one untouched
SYNOPSIS
smd-push [-d|--dry-run] [-v|--verbose] [-s|--show-tags] [-t|--template-only]
[-n|--no-delete] [endpoint]
DESCRIPTION
smd-push performs in the remote maildir all the changes that were performed on the local one.
No changes are made on the local maildir. Use smd-pull(1) for that.
Refer to smd-config(5) for the configuration file format.
OPTIONS -v --verbose
Verbose output
-s --show-tags
Machine readable output
-d --dry-run
Do not perform any action for real
-n --no-delete
Do not propagate deletions
-t --template-only
Just create a template configuration file if none
endpoint
Is the suffix for the name of the configuration file to use. If it is omitted, the configuration file ~/.smd/config.default is used.
FILES
~/.smd/config.* ~/.smd/hooks/pre-push.d/ ~/.smd/hooks/post-push.d/
SEE ALSO mddiff(1), smd-server(1), smd-client(1), smd-pull(1), smd-loop(1), smd-config(5)AUTHOR
Enrico Tassi <gares@fettunta.org>
11 June 2012 smd-push(1)
Hi Unixers, :)
In a shell script i found the following statements
mline='grep\^ 1111 emaster.dbf
set -- $mline
The first statement searches the emaster.dbf file for the code 1111 and ifit finds any such line it gets that line and stores it in mline.
But iam getting little bit confusion with... (4 Replies)
Hi,
I am writing a script to use awk to generate a set of cp commands from an input file abc.
file abc:
/data/a.dbf
/data/june/b.dbf
desired output:
cp -pr a.dbf /data/a.dbf
cp -pr b.dbf /data/june/b.dbf
script:
$ cat abc | awk '{ print "cp -pr '`basename $1`' " $1 }'
I tried to... (4 Replies)
Hi,
I have a file like this:
mgr1.dbf
tool.dbf
usr.dbf
wow19.dbf
wow2wow.dbf
Can anyone help change the format after each line of reading to:
mgr2.dbf # add 1 of *1.dbf
tool2.dbf # if not a number exist, make it default to 2
usr2.dbf
wow20.dbf # add 1 of *19.dbf
wow3wow.dbf ... (5 Replies)
hi guys,
I need the code for a server client registration form.The server must ask for authentication .Then the client would send in data. This is stored in a file .The server sends back a receipt to the client as part of the payment done.
plz can some 1 get me the code... (9 Replies)
Hi all,
I would want to copy everything in a particular directory. However would want to exclude 2 files:
DIMStemp01.dbf
DIMSts01.dbf
Don't really know how to do so, any suggestions?
Thanks in advance. (5 Replies)
Hi all,
I would want to copy everything in a particular directory. However would want to exclude 2 files:
DIMStemp01.dbf
DIMSts01.dbf
I tried to:
(1) ls files except these 2 files into abc.txt
(2) Read from abc.txt and start copying.
It works, however is there any easier way? Eg.... (6 Replies)
Hi all,
I am new to shell scripting.
I have dbf file and I need to convert it into csv file.
OR, can i read the fields from a .dbf file and OR seprate the records in dbf file and put into .csv or txt.
Actually in the .dbf files I am getting , the numbers of fields may vary in very record and... (6 Replies)
i have created two files named server and client then when i run the server program it says the server is waiting(./server 5555) then when i run the client program it says "client error:connection refused" can u plz help me to run it?:( (7 Replies)
From below mentioned line,i have to display output as last word only ie:arch_1_105366_720809746.dbf
-rw-r----- 1 oracle dba 98887680 02 Mar 12:01 arch_1_105366_720809746.dbf
Please .. (5 Replies)
Hi,
I have a string like the following:
/db1/data/GLIDER/SYSTEM.dbf
need to find the postion where "SYSTEM.dbf" starts, so I tried:
LOCATION=/db1/data/GLIDER/SYSTEM.dbf
$ expr index $LOCATION SYSTEM
expr: syntax error
$ expr index "$LOCATION" SYSTEM
expr: syntax error
... (5 Replies)
Hi,
I have a file which has the following
/u12/data/oracle/abc.dbf
/u12/data/oracle/def.dbf
/u12/data/oracle/daf.dbf
/u12/data/oracledb/fgh.dbf
/u12/data/oracledb/fkh.dbf
/u12/data/oracledb/kdq.dbf
I want to do something like this
/u12/data/oracle
/u12/data/oracle... (7 Replies)
Hi,
There were a few files deleted from a server by user xyz.
The file names are:-
/oraextME4/oradata/ME11G22/TEST_IMPORT_01.dbf
/oraextME4/oradata/ME11G22/RKVITR1_03.dbf
/oraextME4/oradata/ME11G22/TEST_IMPORT_02.dbf
need to know the ip address of the terminal from which that... (10 Replies)
I need to pull down a good bit of files for another support team for an upgrade project. I have a server.list with all of the server names.
I need to do two parts:
FIRST:
I have this example, but it does not list the server name in front of each line.
#! /bin/bash
for server in $(<... (10 Replies)
Hi Gurus,
I have a requirement which need copy some files and rename them in same dir.
for example I need to rename all files with ABC at begining of file name.
#! /bin/ksh
filelist=`ls ABC*`
while read file
do
echo ${file: 0:18}
cp $file ${file: 0:18}
done <"${filelist}"
i got... (7 Replies)
First, please forgive me for my 2nd attempt to post in a Forum!
And btw, the Code Tags tutorial has the fonts and the sizes,
but when I am editing my post none of those fonts and sizes
are not there!
SCO OpenServer(TM) Release 5 (worf.xxx.com)
Worf is our proxy & POP Server, and it... (7 Replies)