Sponsored Content
Full Discussion: Automatic script
Top Forums UNIX for Advanced & Expert Users Automatic script Post 302202527 by zaxxon on Thursday 5th of June 2008 04:34:13 AM
Old 06-05-2008
Yes, but some mechanism has to do your copy jobs and I doubt, that the same part that realizes that there is a new usb device can do any actions like copy stuff for you etc. on it's own by passing that as parameter or in some config file.
But I have no clue about Mac OS X either.
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Automatic login script

Hi, I'm a beginner in unix.As a part of my script i need to remote logon using ssh. my script run as being asked for password and logons only after the user enters the password correctly. But my script stops executing after that as I login to a different server(different shell if i'm right).... (3 Replies)
Discussion started by: dayanand
3 Replies

2. Shell Programming and Scripting

Script for automatic deletion of old files

Hi, I have a folder with limited space. I do not have provisions to increase the space for this folder. So i have to delete files which are more than 1 month old automatically. But, i need to maintain the files created by 4 users and delete all the other files automatically which is more than 1... (4 Replies)
Discussion started by: vivek_scv
4 Replies

3. Solaris

Script for automatic deletion of old folder

Hi, I have a folder with limited space. So i have to delete folder which are more than 5 days old automatically. So my script should be like delete the folder more than 5 days old. Can someone help me to generate a script for this. Thank you... Cheer Summer (5 Replies)
Discussion started by: summerpeh
5 Replies

4. Solaris

Script for automatic count the file i have

Hi I have a folder will all the file ftp in everyday. I have to go in every morning to check to see everynight have all the 2000+ file have been all FTP in. so every morning i will check like this # ls -l *_20080904*_20080904* |wc if there is 2714 that mean is correct. File name:... (13 Replies)
Discussion started by: summerpeh
13 Replies

5. SCO

Automatic FTP script

We are using SCO OS 5.05 server and we are doing a manual ftp to another SCO OS 5.05 server to backup our database. We are using the Bourne shell. We would like to automate the ftp backup of our database instead of doing it manually. It would be nice to run a script. Also would there be anyway... (4 Replies)
Discussion started by: texastig
4 Replies

6. Shell Programming and Scripting

Script for Automatic Backup System

Hi Guys/ULF, Good day! Can anyone help me on how to create a program which will be used for our backup process and that will run automatically say every 30th day of the Month. Below is the given command to perform a backup process among all nodes/servers within the same cluster. ns cluster... (2 Replies)
Discussion started by: rymnd_12345
2 Replies

7. UNIX for Dummies Questions & Answers

Automatic counter script

Hello, I am having trouble calculating some numbers and I was hoping someone could help me solve this. I have one file with 1 column and what I'm trying to do is add up the lines until a certain value is reach, then jump to where it last finished counting and continue. so for ex: if I... (27 Replies)
Discussion started by: verse123
27 Replies

8. Shell Programming and Scripting

script for automatic table filtering

Hello everyone! i I'm trying to write a script that can filter data in a text file. the source file looks like this the result file should look like this As you can see mostly i need to delete fields like _219402757693 and date - time 12.07.2012 8:49:06 i know that it's possible to... (0 Replies)
Discussion started by: o28
0 Replies

9. Shell Programming and Scripting

Automatic script trigger

Hi, I'm looking for a way to solve the following scenario: A shell should automatically trigger / run when a text file is placed or present at a specific location. My idea - to create a cron / anacron for every minute and inside that i will call a temp script. Temp script will move to my... (9 Replies)
Discussion started by: Gautham
9 Replies

10. Shell Programming and Scripting

Automatic scp Script

I need a script to automatically scp the latest files on DIR1,DIR2 and DIR3 from Source to destination server at same place(DIR1,DIR2 and DIR3) . Further details are: Source Server (192.168.1.5) DIR1 DIR2 DIR3 Destination Server (192.168.1.10) DIR1 DIR2 DIR3 (7 Replies)
Discussion started by: refra
7 Replies
WCTYPE(3)						     Linux Programmer's Manual							 WCTYPE(3)

NAME
wctype - wide-character classification SYNOPSIS
#include <wctype.h> wctype_t wctype(const char *name); DESCRIPTION
The wctype_t type represents a property which a wide character may or may not have. In other words, it represents a class of wide charac- ters. This type's nature is implementation-dependent, but the special value (wctype_t) 0 denotes an invalid property. Nonzero wctype_t values can be passed to the iswctype(3) function to actually test whether a given wide character has the property. The wctype() function returns a property, given by its name. The set of valid names depends on the LC_CTYPE category of the current locale, but the following names are valid in all locales. "alnum" - realizes the isalnum(3) classification function "alpha" - realizes the isalpha(3) classification function "blank" - realizes the isblank(3) classification function "cntrl" - realizes the iscntrl(3) classification function "digit" - realizes the isdigit(3) classification function "graph" - realizes the isgraph(3) classification function "lower" - realizes the islower(3) classification function "print" - realizes the isprint(3) classification function "punct" - realizes the ispunct(3) classification function "space" - realizes the isspace(3) classification function "upper" - realizes the isupper(3) classification function "xdigit" - realizes the isxdigit(3) classification function RETURN VALUE
The wctype() function returns a property descriptor if the name is valid. Otherwise, it returns (wctype_t) 0. ATTRIBUTES
For an explanation of the terms used in this section, see attributes(7). +----------+---------------+----------------+ |Interface | Attribute | Value | +----------+---------------+----------------+ |wctype() | Thread safety | MT-Safe locale | +----------+---------------+----------------+ CONFORMING TO
POSIX.1-2001, POSIX.1-2008, C99. NOTES
The behavior of wctype() depends on the LC_CTYPE category of the current locale. SEE ALSO
iswctype(3) COLOPHON
This page is part of release 4.15 of the Linux man-pages project. A description of the project, information about reporting bugs, and the latest version of this page, can be found at https://www.kernel.org/doc/man-pages/. GNU
2015-08-08 WCTYPE(3)
All times are GMT -4. The time now is 03:40 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy