Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

smd-client(1) [debian man page]

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-pull(1)						 Sync Mail Dir (smd) documentation					       smd-pull(1)

NAME
smd-pull - syncs the local mail dir letting the remote one untouched SYNOPSIS
smd-pull [-d|--dry-run] [-v|--verbose] [-s|--show-tags] [-t|--template-only] [-n|--no-delete] [endpoint] DESCRIPTION
smd-pull performs in the local maildir all the changes that were performed on remote one. No changes are made on the remote maildir. Use smd-push(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-pull.d/ ~/.smd/hooks/post-pull.d/ SEE ALSO
mddiff(1), smd-server(1), smd-client(1), smd-push(1), smd-loop(1), smd-config(5) AUTHOR
Enrico Tassi <gares@fettunta.org> 11 June 2012 smd-pull(1)
Man Page

15 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

SET command

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)
Discussion started by: ravi raj kumar
4 Replies

2. UNIX for Dummies Questions & Answers

awk field not recognized in backquotes

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)
Discussion started by: voa2mp3
4 Replies

3. Shell Programming and Scripting

change the format of a giving file ( a bit challenge) Thank you

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)
Discussion started by: netbanker
5 Replies

4. Programming

Server client program

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)
Discussion started by: pip3r
9 Replies

5. UNIX for Dummies Questions & Answers

To list everything except two files

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)
Discussion started by: *Jess*
5 Replies

6. Shell Programming and Scripting

To copy everything except 2 files

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)
Discussion started by: *Jess*
6 Replies

7. Shell Programming and Scripting

how to read dbf file in shell script and to convert dbf file usinf shell script

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)
Discussion started by: gauara
6 Replies

8. UNIX for Dummies Questions & Answers

Help to run this socket program in C

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)
Discussion started by: kedah160
7 Replies

9. Shell Programming and Scripting

grep output

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)
Discussion started by: Sanal
5 Replies

10. UNIX for Dummies Questions & Answers

how to get index/postion of a string?

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)
Discussion started by: seafan
5 Replies

11. Shell Programming and Scripting

want to remove last word.

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)
Discussion started by: javeedkaleem
7 Replies

12. UNIX for Dummies Questions & Answers

To find the Ip address of the user who deleted files

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)
Discussion started by: Abhinav Jaiswal
10 Replies

13. Shell Programming and Scripting

Copy down remote files and rename them to include the server name with full path

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)
Discussion started by: asnatlas
10 Replies

14. Shell Programming and Scripting

Simple script need help

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)
Discussion started by: ken6503
7 Replies

15. UNIX for Dummies Questions & Answers

Can't POP the mails off the server, the mailbox is corrupt!

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)
Discussion started by: Nancy L
7 Replies