05-14-2012
Sorry, in preparing this post I realised a big fault in the original cron.
Stopped for a think.
Last edited by methyl; 05-14-2012 at 02:06 PM..
Reason: prepare to rewrite post
8 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I'm moving a list of files of some extension and I wish to output the moved filenames into a text file, I tried using the command below, but after all the files are moved, I got a blank file.
find /abc/temp -type f -mtime +365 \( -name "*.bak" -o -name "*.log" \) -exec mv -f {} /junk \; >>... (3 Replies)
Discussion started by: chengwei
3 Replies
2. UNIX for Dummies Questions & Answers
Hello,
I am using rsync to make sure that my folder "local" mirrors the remote directory "remote". When a file is copied from "remote" to "local", I need to apply a bash script to it. What would be a neat way to do that?
Thanks
ps: is there a way to edit the title of the thread (I am a bit... (5 Replies)
Discussion started by: JCR
5 Replies
3. UNIX for Dummies Questions & Answers
Hi everyone,
In a directory I have files with various extensions. I would like to move all the files ending in .L2 into a directory: ~/test. But I would also like to show which files are being moved. Of course I could type:
$ ls *.L2
$ mv *.L2 ~/test
Is there a way I can combine these two... (5 Replies)
Discussion started by: msb65
5 Replies
4. Solaris
Hi,
I would like to move all files that are updated in last 10 hrs. to some temporary folder.
Please help. (3 Replies)
Discussion started by: sanjay1979
3 Replies
5. UNIX for Advanced & Expert Users
Hi,
I want to know the user ID who moved a file from one directory to another Directory.
Example: File1 created by user A is present in dirA
then some one has moved it to dirB using "mv" command
I want to know the user ID who moved the file to dirB.
As far as i know "ls -lrt" command... (1 Reply)
Discussion started by: srilaxmi
1 Replies
6. Shell Programming and Scripting
Hi.
I am actually doing all of this on OSX, but using unix apps and script.
I have built my own transparent rsync/open directory/mobility/etc set of scripts for the firm I work at, and it is all almost complete except for ONE THING.
I have the classic problem with rsync where if a user... (0 Replies)
Discussion started by: Ashtefere
0 Replies
7. Shell Programming and Scripting
I have two files as follows:
Pval.txt
ID Pvalue
91500 0.004
91700 0.007
91800 0.12
91900 0.05
92000 0.99
Freq.txt
ID Frequency
90000 56
91500 29
91600 78
91700 60
91800 77
91900 66
92000 70
92100 50
92200 60I need to compare 1st... (19 Replies)
Discussion started by: cs_novice
19 Replies
8. Shell Programming and Scripting
I'm writing a script for searching substring in file content and then moving found files. So far I've wrote script shown below
grep -lir 'stringtofind' $1 | xargs mv -t $2
How can i count number of files moved? (4 Replies)
Discussion started by: Kadikis
4 Replies
LEARN ABOUT DEBIAN
twiglet
TWIGLET(1) User's Manual TWIGLET(1)
NAME
twiglet - observe or control an RVC-enabled machine's console
SYNOPSIS
twiglet [OPTION]... host-specification
DESCRIPTION
twiglet is a program for controlling another machine's console. It works using the RVC protocol, and an RVC server (such as rvcd(1)) must
be running on the machine to be observed.
Using twiglet, the a best effort attempt is made to duplicate the screen contents of the observed machine. If the machine is displaying a
virtual text console, the text on the console is rendered in the terminal in which twiglet runs. If the machine is displaying an X ses-
sion, and the RVC server supports VNC integration, twiglet will open a window that contains the current contents of the X display.
It is also possible to control the observed machine in various ways. With keyboard control enabled (and with support from the RVC server),
keys may be sent to the observed machine in text console mode almost as if they were typed from the keyboard. Twiglet also supports
switching virtual console on the observed machine. Finally, if VNC integration is available, the X display can be manipulated almost as if
the user were at the console.
The intended use for twiglet is in training and teaching environments. The idea is that there are student machines and a control machine
(which the trainer or teacher would be using), with a serial line attached to each student machine. The trainer or teacher can then ana-
lyse the students' attempts to complete tasks, and help them out (showing them how to finish it) without needed to push them aside to get
to the keyboard.
This client is written using ncurses(3X).
OPTIONS
--help display a help message and exit successfully
--version
display a version number and exit successfully
-c, --control
control the remote machine rather than just observing it
-e xy, --escape xy
set the escape character and the escape escape character (like screen(1))
The host-specification takes one of the following forms:
host:port
to connect to an RVC server over TCP
tty [host]
to communicate with an RVC server over a tty (for example a serial line); the optional hostname is for VNC integration
BUGS
I'm sure there are bugs, but I don't know what they are.
AUTHOR
Tim Waugh <twaugh@redhat.com>
VTGRAB
20 Sep 2000 TWIGLET(1)