smd-loop(1) Sync Mail Dir (smd) documentation smd-loop(1)NAME
smd-loop - iterates smd-pull and smd-push
SYNOPSIS
smd-loop [-vt]
DESCRIPTION
smd-loop runs smd-push and smd-pull at regular intervals as defined by the user in the ~/.smd/loop configuration file. On errors that are
reported to be transient, it retries a second time before failing.
The configuration file is line-oriented. Each line is composed of three space separated fields: pull-frequency, push-frequency and end-
point-name. Frequencies are expressed in minutes, while endpoint name is a valid name for smd-pull(1) and smd-push(1). Lines beginning with
# are considered as comments. The following example calls the command smd-pull default every 3 minutes, and smd-push default every 10.
Example:
# pull-frequency push-frequency endpoint-name
3 10 default
OPTIONS -v Increase program verbosity (printed on stderr)
-t Just create a template configuration file if none
FILES
~/.smd/loop
SEE ALSO mddiff(1), smd-server(1), smd-client(1), smd-push(1), smd-pull(1)AUTHOR
Enrico Tassi <gares@fettunta.org>
11 June 2012 smd-loop(1)
Check Out this Related Man Page
smd-server(1) Sync Mail Dir (smd) documentation smd-server(1)NAME
smd-server - sends diffs and mails to smd-client
SYNOPSIS
smd-server [--exclude glob] [-v|--verbose] [-d|--dry-run]
[--get-mddiff-cmdline] [--stop-after-diff]
[--override-db dbf] [--dump-stdin tgt] endpoint mailboxes
DESCRIPTION
smd-server needs to know a name (endpoint) for the client (that must not be used by others) and a list of mailboxes (directories).
smd-server first calls mddiff(1), then prints on stdout the generated diff. It then accepts from stdin a small set of commands a client may
issue to request a file (or parts of it, like the header).
smd-server is in charge of committing the db file used by mddiff(1) in case the client communicates a successful sync.
OPTIONS -v --verbose
Increase program verbosity (printed on stderr)
-d --dry-run
Do not perform any action for real
-n --no-delete
Do not track deleted files
--exclude glob
Exclude paths matching glob
--override-db dbf
Use dbf as the db-file
--get-mddiff-cmdline
Print the command line used for mddiff and then exist
--stop-after-diff
Send the actions to the other endpoint and exit. If used in conjunction with --override-db, dbf is removed just before exiting
--dump-stdin tgt
Dump standard input to tgt and exit
NOTES
smd-server is a low level utility. You should use higher level tools like smd-pull(1) and smd-push(1)SEE ALSO mddiff(1), smd-client(1), smd-pull(1), smd-push(1)AUTHOR
Enrico Tassi <gares@fettunta.org>
11 June 2012 smd-server(1)
hey guys. i'm new to shell scripting but not new to programming. i want to write a script that will take all the files in the current directory that end with a particular filetype and change all their names to a number in order. so, it would take all the jpg files and sort them in alphabetical... (30 Replies)
The following piece of code is not running because it is fails to go inside the if condition. i want to create a directory if there is no directory in the input path. i am using Linux, by CENT. Please help.
echo " Enter the path where you u want to extract the tar"
read EXTRACT_PATH
ls -ld... (12 Replies)
i have file which contains data like this every day.i need to pull up a report for counting the 203's in that file for each subscriber id.there are around 200 subscriber id's. all ths Y's which i have written in the script are the subscriber id's.could some one give me an idea as to how do it in... (22 Replies)
Hi guys my while do loop is not working properly;
As soon as the load_date and run_date is same it should stop can somebody tell me where I am having the problem?
In an oracle table I have
LOAD_DT=5/1/2009 DATE datatype
RUN_DT=5/5/2009 DATE datatype
Now in a script with a spool file I get the... (15 Replies)
Hello ...again.
I am stuck on this part, I have a loop with processes an operations file.
and calls different functions depending on what is in loop, which processes a database file...
#so far my add function works as intended
add()
{
...blah blah;
}
# delete is kinda working... (13 Replies)
Hi,
I'm trying to compare two files using a loop statement.. So far I've gotten the below but instead of outputting what line number is missing in File1 one, I'd like it to output the actual line that was found..
Can anyone give me some pointers..
#!/bin/ksh
counter=1
exec 3<... (15 Replies)
Hi guys - I have written this script to search for a file (mytest.txt) in the pwd. I was wondering how to:
1. Implement multiple file directories inside the script
2. Implement the file name inside the script
currently i run it as ./script_name.sh (file to search)
#!/bin/bash
#... (37 Replies)
hi all
I am new to unix and want to create a loop to repeat the loop and before that it ask me to do so.I know "while" may help but I put it in my work and getting stuk with it.any help appreciated. (13 Replies)
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
I am trying to read a file that was made using VI that consists of a user login name, full name, phone number and... (15 Replies)
How do I loop thru space separated values in a variable?
I hate to use very complicated counter increment logic for this kind of simple problem.
Expected result(using ksh)
$>echo "aaa bbbb cccc" | <looping code here>
var=aaa
var=bbbb
var=cccc
$>echo "aaa bbbb cccc" | while IFS=" "... (12 Replies)
Hi there, new to this forum and I recently encounter this problem:
I tried to use if-elif loop in a while-read loop, something like this:
#!/bin/bash
while read myline1 myline2
do
if ; then
echo "Successful!"
elif ; then
echo "Failed"
fi
done < $1
Input file looks like this:
200... (13 Replies)
I have files with hundreds of sequences with frequency values reported as "Freq X" and missing characters represented by a dash ("-"), something like this
>39sample Freq 4
TAGATGTGCCCGTGGGTTTCCCGTCAACACCGGATAGTAGCAGCACTA
>22sample Freq 15
T-GATGTCGTGGGTTTCCCGTCAACACCGGCAAATAGTAGCAGCACTA... (12 Replies)
Hello folks,
I have created a GUI but i face some issue with the loop either i am stuck in the loop or it close the program
In the code below it work fine for the "go to menu" if i press cancel i go back to the main menu but for "test" i m stuck in the menu
Appreciate some help :/... (13 Replies)
Hi ,
I am executing a while loop .The only condition is , as far as the cumulative sum of the 2nd column from each line passed from the txt file reaches value of 12 , echo those lines .But once the cumulative sum reaches 12 , restart the loop setting the cumulative sum variable to 0 . But in the... (17 Replies)
I am hoping to pull multiple strings from one file and use them to search within a block of text within another file.
File 1PS001,001 HLK
PS002,004 MWQ
PS004,002 RXM
PS004,006 DBX
PS004,006 SBR
PS005,007 ML
PS005,009 DBR
PS005,011 MR
PS005,012 SBR
PS006,003 RXM
PS006,003 >SJ
PS006,010... (11 Replies)