10-03-2011
Good confirmation, in fact this code (the function part) can be used for general time difference calculation.
7 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi
As a System Admin, I have to handle synchronzing 2 CVS.
But I'm new to CVS & hardly have any knowledge of such tools.
Please help me, is there any way, that can automatize the
process for synchronizing the 2 remotely residing CVS database
with out manual intervension.
Ex:- CVA... (1 Reply)
Discussion started by: S.Vishwanath
1 Replies
2. Shell Programming and Scripting
Who wants a challenge? ;)
I have a Multimedia station (Damn Small Linux) that plays Video files using MPlayer.
I'm in desperate need of a Script that would be able to do the following:
The Multimedia station should read, at boot or through a cron job, a "Playlist" file on a remote machine.... (1 Reply)
Discussion started by: mkoenders
1 Replies
3. Programming
hi all!
I wanted to know how to synchronize multiple threads in unix
It would be better if someone give some code samples
Thanx (1 Reply)
Discussion started by: bankpro
1 Replies
4. UNIX for Dummies Questions & Answers
Like the topic says, does anyone know if it is possible to check to see when an FTP only user has logged in? Because the shell is /bin/false and they are only using FTP to access the system doing a "finger" or "last" it says they have never logged in.
Is there a way to see when ftp users log in... (1 Reply)
Discussion started by: LordJezo
1 Replies
5. UNIX for Dummies Questions & Answers
Hello All,
Does some one know how to synchronize the primary name server with the secondary without knowing the domains on which synchronization failed.
I have just done /usr/sbin/ndc reload
Alternatively how do i find out the domains on which synchronization failed? (4 Replies)
Discussion started by: a2z1982
4 Replies
6. Ubuntu
I have been trying to synchronise my calendar and contacts using Ubuntu and Windows Mobile on my HTC smart phone. I have read who knows how many posts, threads, blogs but still can't get this to work.
I have synce installed, when I plug in my phone it recognises the phone, and lets me view... (2 Replies)
Discussion started by: naiku
2 Replies
7. Programming
the following code runs, but it hangs somewhere, i don't know why,
#include<iostream>
#include<vector>
#include<cstdlib>
#include<ctime>
#include<list>
#include<pthread.h>
#include<cstring>
using namespace std;
pthread_mutex_t listlock = PTHREAD_MUTEX_INITIALIZER;... (3 Replies)
Discussion started by: saman_glorious
3 Replies
RMF(1) [nmh-1.5] RMF(1)
NAME
rmf - remove an nmh folder
SYNOPSIS
rmf [+folder] [-interactive | -nointeractive] [-version] [-help]
DESCRIPTION
Rmf removes all of the messages (files) within the specified (or default) folder, and then removes the folder (directory) itself.
If there are any files within the folder which are not a part of nmh, they will not be removed, and an error will be produced. If the
folder is given explicitly or the -nointeractive option is given, then the folder will be removed without confirmation. Otherwise, the
user will be asked for confirmation. If rmf can't find the current folder, for some reason, the folder to be removed defaults to `+inbox'
(unless overridden by user's profile entry "Inbox") with confirmation.
If the folder being removed is a subfolder, the parent folder will become the new current folder, and rmf will produce a message telling
the user this has happened. This provides an easy mechanism for selecting a set of messages, operating on the list, then removing the list
and returning to the current folder from which the list was extracted.
If rmf s used on a read-only folder, it will delete all the (private) sequences (i.e., "atr-seq-folder" entries) for this folder from your
context without affecting the folder itself.
Rmf irreversibly deletes messages that don't have other links, so use it with caution.
FILES
$HOME/.mh_profile The user profile
PROFILE COMPONENTS
Path: To determine the user's nmh directory
Current-Folder: To find the default current folder
Inbox: To find the default inbox
SEE ALSO
rmm(1)
DEFAULTS
`+folder' defaults to the current folder, usually with confirmation
`-interactive' if +folder' not given, `-nointeractive' otherwise
CONTEXT
Rmf will set the current folder to the parent folder if a subfolder is removed; or if the current folder is removed, it will make "inbox"
current. Otherwise, it doesn't change the current folder or message.
BUGS
Although intuitively one would suspect that rmf works recursively, it does not. Hence if you have a sub-folder within a folder, in order
to rmf the parent, you must first rmf each of the children.
MH.6.8 11 June 2012 RMF(1)