9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
The code I created monitors directories, files and reports when it has changed. It saves the md5sums of the files it is monitoring and sends alert whenever any files change.
It sends an excel report to admin. My code is not working. I getting error messages.
log.xlsx - the log output should... (3 Replies)
Discussion started by: dellanicholson
3 Replies
2. Solaris
Hi!
I have a dir in a server, that receives files with the wrong permissions, so I decide to put on a cron entry that changes its permitions, but because of the time gap, not all of them get changed.
What I did was the following:
... (14 Replies)
Discussion started by: fretagi
14 Replies
3. Shell Programming and Scripting
I have 100 files in a directory , all the files have a word "error" and they are created in different date . Now I would like to change the word from "error" to "warning" , and keep the date of the files ( that means do not change the file creation date after change the word ) , can advise what can... (7 Replies)
Discussion started by: ust3
7 Replies
4. Shell Programming and Scripting
I have 100 files in a directory , all the files have a word "error" and they are created in different date . Now I would like to change the word from "error" to "warning" , and keep the date of the files ( that means do not change the file creation date after change the word ) , can advise what can... (0 Replies)
Discussion started by: ust3
0 Replies
5. Shell Programming and Scripting
I have a list of property file can each file has name=value kind of key value pair
can replace all = with say ; in each file using sed or any other command (4 Replies)
Discussion started by: Vinayshell
4 Replies
6. Shell Programming and Scripting
Hello,
I need to find all *.xml files that matched by pattern on Linux. I need to have written the file name on the screen and then change the pattern in the file just was found.
For instance.
I can start the script with arguments for keyword and for value, i.e
script.sh keyword... (1 Reply)
Discussion started by: yart
1 Replies
7. Shell Programming and Scripting
Basic:
find . -type f -name “*.txt” -print | awk '{gsub("Ontem", "AntesdeOntem", $0); print > FILENAME}' *.txt
The idea is in folder /home/myapontamentos
I have some files and i need to change in all them the word "ontem" to "antesdeontem".
But bigger files are cut (size i mean)... (4 Replies)
Discussion started by: single
4 Replies
8. Shell Programming and Scripting
Hi Guys,
Please can you let me know, how to change file names in a directory that has say 10 files
I have files like
STR1.rman.pre.script
STR1.rman.post.script
STR1.rman.inc.script
STR1.rman.cold.script
STR1.rman.hot.script
I need a command to change the above files all in one go... (6 Replies)
Discussion started by: kamathg
6 Replies
9. Shell Programming and Scripting
Hi,
I have a requirement by which I need to take a snapshot of a certain directory of a certain types of files into a target directory within the same server (HP-UX 9000).
The problem is that the files created in the target directory has the date and time of when the files were copied over. ... (5 Replies)
Discussion started by: jerardfjay
5 Replies