07-10-2010
but filenames not getting changed.
Thanks for the reply.
This works fine. I could only see the changed filenames in a prompt mode.
Actual filenames are not changed.
I think I have to add something like >&
Please suggest. and if possible explain few steps. particularly about {f:3:4} and {f: -9}
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
I want to list all the files matching in a directory directory given below
Here one of the folder has a space in the path.
/MAS02/RMS/WBDev/Krishna/Krishna Mohan/FMSplitByKeyAfterChanges1000075383.fileman.*.txt.out.1000075383.0
The following works from command line... (1 Reply)
Discussion started by: hikrishn
1 Replies
2. Shell Programming and Scripting
Hi,
i have a line
tftp dgram udp wait nobody /usr/sbin/tcpd in.tftpd /tftpboott
in /etc/inet.conf file. ineed to replace nobody with root and /tftpboott with /flx/boot. i tried using sed ,but i could not change both of them. can you please help me to do this.
Edit:... (7 Replies)
Discussion started by: vprasads
7 Replies
3. Shell Programming and Scripting
hello,
i 'd like your help about a bash script which:
1. finds inside the html file (it is attached with my post) the code number of the Latest Stable Kernel,
2.finds the link which leads to the download location of the Latest Stable Kernel version,
(the right link should lead to the file... (3 Replies)
Discussion started by: alex83
3 Replies
4. Shell Programming and Scripting
Hi
I want to write a shell script to print only those words from a file whose beginning
and last character are same.
Please help.
Thanks,
vini (5 Replies)
Discussion started by: vini kumar
5 Replies
5. Shell Programming and Scripting
Dear experts,
I have an epoch time input file such as : -
1302451209564
1302483698948
1302485231072
1302490805383
1302519244700
1302492787481
1302505299145
1302506557022
1302532112140
1302501033105
1302511536485
1302512669550
I need the epoch time above to be converted into real... (4 Replies)
Discussion started by: aismann
4 Replies
6. Shell Programming and Scripting
This is an assignment where we were supposed to create a script to get an orginal string and replace it with another. However when I run my script (change-lines), it says
./change-lines: cannot shift
I do not where the problem is. help!
#!/bin/sh
# a shell function to print and error... (4 Replies)
Discussion started by: alis
4 Replies
7. Shell Programming and Scripting
hi,
i am writing a shell script in which i read a line in a variable.
FNAME="s1.txt s2.txt s3.txt s4.txt s5.txt"
i want to create a array and store single file names in a array..
so the array should contain
arr="s1.txt"
arr="s2.txt"
arr="s3.txt"
arr="s4.txt"
arr="s5.txt"
how to... (3 Replies)
Discussion started by: Little
3 Replies
8. Shell Programming and Scripting
Hello,
I have output like below:
-----------------------------------------------------------------------------
Group 'group1' on system 'system01' is running.
-----------------------------------------------------------------------------
Group 'group2' on system 'system01' is running.... (4 Replies)
Discussion started by: sniper57
4 Replies
9. UNIX for Advanced & Expert Users
Hi :)
I have a .txt file with thousands of words.
I was wondering if i could use a simple sed or awk command to convert / replace all words in the text file to Title Case format ?
Example:
from:
this is line one
this is line two
this is line three
to desired output:
This Is Line... (8 Replies)
Discussion started by: martinsmith
8 Replies
10. Shell Programming and Scripting
I just learning shell script. Need your shell script expertise to help me. I would like to stemming the words by matching the root words first between both files and replace all words by "I" character but replace "B" character after root words and "E" before root words in affix_words.txt.
... (18 Replies)
Discussion started by: paranrat
18 Replies
LEARN ABOUT DEBIAN
fileschanged
FILESCHANGED(1) User Commands FILESCHANGED(1)
NAME
fileschanged - displays altered files
SYNOPSIS
fileschanged [OPTION...] [FILE]...
DESCRIPTION
Monitors FILEs for alterations. Display the filenames of FILEs that were created, changed, deleted, started execution or finished execut-
ing.
-s, --show=EVENT[,...]
Display created, changed, deleted, executing, or executed files (Default is "created,changed")
-a, --show-all
Display all file events and the associated action
-f, --files-to-monitor
(Default) Monitor the FILEs on the command line
-l, --filelist=FILE
Monitor the list of filenames inside FILE
-L, --dereference
Don't monitor symlinks, monitor what's pointed to
-r, --recursive
Monitor subdirectories of directories
-t, --timeout=N
Delay showing changed files for N seconds (Def=2)
-p, --display-action
Display action when showing altered files
-x, --exec=PROG
Run PROG when file is altered (PROG action filename)
-?, --help
Give this help list
--usage
Give a short usage message
-V, --version
Print program version
FILEs must exist when monitoring begins, or they will not be monitored.
REPORTING BUGS
Report bugs to <benasselstine@users.sf.net>.
SEE ALSO
The full documentation for fileschanged is maintained as a Texinfo manual. If the info and fileschanged programs are properly installed at
your site, the command
info fileschanged
should give you access to the complete manual.
fileschanged 0.6.5 October 2011 FILESCHANGED(1)