07-30-2008
Thanks for your suggestions...
I did check the path variable and it looks like this:
PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin
...which I think has everything I need !?
I also try running the command using the full path "/mydir/another/run -d" and I get the error "No such file or directory". In fact this is exactly how the daemon specifies the command i.e. with the full path string. It is this daemon that is failing to start.
Any other suggestions ? I tried a simple "Hello World" BASH script and it comes up with "command not found" when called from the directory in which it lives. I have made it executable and Mac OS X recognizes as a UNIX executable !?
Thanks...
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
as i said before i'm a beginner in shell programming and i have two questions:
how to run an executable file in shell scripts like for example let's say the file called "prog.exe", what's the shell command to run this file?
also how can i make the shell file an executable file (if it is... (5 Replies)
Discussion started by: _-_shadow_-_
5 Replies
2. Shell Programming and Scripting
Hi,
I have an executable file that has a rather long and tedious process to complete. How would I launch the executable using the shell, and then exit the shell while leaving the executable to run in the background? (1 Reply)
Discussion started by: pcwiz
1 Replies
3. Shell Programming and Scripting
I need to know how to have a BASH script run every time Firefox is launched, what is the simplest way to do this? (1 Reply)
Discussion started by: glev2005
1 Replies
4. Shell Programming and Scripting
Dear list
its my first post and i would like to greet everyone
What i would like to do is select records 7 and 11 from each files in a folder then run an executable inside the script for the selected parameters.
The file format is something like this
7 100 200
7 100 250
7 100 300 ... (1 Reply)
Discussion started by: Gtolis
1 Replies
5. Shell Programming and Scripting
All,
I am pretty new to Unix and still in the learning curve :) I have a simple requirement for which I did not get an answer yet (Atleast I do not know how to keyword the search for my requirement!!!).
I have an executable script my.script1 in a folder /data/misc/scripts/dev, which when... (5 Replies)
Discussion started by: bharath.gct
5 Replies
6. OS X (Apple)
I'm using an old conversion method for converting a plist into an XML file, but that's not what I'm needing just via terminal now. What I'm looking for is an answer to convert a plist file into an executable. I'd like to import it into Casper and have the JSS push it out onto an image. In this... (6 Replies)
Discussion started by: unimachead
6 Replies
7. UNIX for Dummies Questions & Answers
I am using the xarchiver on a xfce environment. When compressing a directory using xarchiver which has both files and subdirectories, I encounter the following error:
Can't run the archiver executable:
Failed to execute child process "tar" (Argument list too long)
Does anyone know exactly what... (0 Replies)
Discussion started by: figaro
0 Replies
8. Shell Programming and Scripting
I would like to make a script that I can see if the file is executable. If it is executable then it needs to run. Otherwise, if it is not executable the file needs to be edited, and run agian.
I hope you understand what i mean. :)
Thanks for the netherlands (4 Replies)
Discussion started by: dennisbest85
4 Replies
9. UNIX for Advanced & Expert Users
Hello,
I need to figure out the minimum OS version needed to run some executable.
For the following OS: Linux, AIX, Solaris. For example how do I know the minimum OS version for /bin/ls ? "file" command does not give me much information. There are some tools that are helpful for understanding... (4 Replies)
Discussion started by: +Yan
4 Replies
10. UNIX for Dummies Questions & Answers
Hello,
I have several hundred subdirectories which contain input files for a binary executable. I need to get into each of the subdirectories, run the executable and then move to the next one and repeat the process. What is the best way to do this?
Arbitrarily my file structures look like... (3 Replies)
Discussion started by: Gussifinknottle
3 Replies
LEARN ABOUT DEBIAN
calendarserver_purge_principals
CALENDARSERVER_PURGE_PRINCIPALS(8) BSD System Manager's Manual CALENDARSERVER_PURGE_PRINCIPALS(8)
NAME
calendarserver_purge_principals -- Darwin Calendar Server deprovisioned user clean-up utility
SYNOPSIS
calendarserver_purge_principals [--completely] [--config file] [--dry-run] [--verbose] [--help] guid [guid ...]
DESCRIPTION
calendarserver_purge_principals is a tool for removing one or more principals' future events, proxy assignments, and contacts from the calen-
dar server. By default, events in the past are retained, but any ongoing events are canceled.
calendarserver_purge_principals should be run as a user with the same priviledges as the Calendar Server itself, as it needs to read and
write data that belongs to the server.
OPTIONS
-h, --help
Display usage information
-c, --completely
Delete/cancel all events
-f, --config FILE
Use the Calendar Server configuration specified in the given file. Defaults to /etc/caldavd/caldavd.plist.
-n, --dry-run
Calculate and display how many events and contacts would be removed, but don't actually remove them.
-v, --verbose
Print progress information.
FILES
/etc/caldavd/caldavd.plist
The Calendar Server configuration file.
SEE ALSO
caldavd(8)
BSD
June 17, 2009 BSD