10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Here is what I currently have and trying to come up with a logic to automatically append logs to a respective year file. The log files might get generated everyday or any other day, irrespective of which I want to copy all of the logs for that year into one file /tmp/<year>.log and then... (4 Replies)
Discussion started by: mbak
2. Shell Programming and Scripting
i have a folder, with tons of files containing as following,
and these can be lots of similar files,... (6 Replies)
Discussion started by: charli1
3. Shell Programming and Scripting
My directory structure is like
I have main directories and subdirectories underneath. I want to write a shell script where I will be passing file name as a parameter, Now I want to find all the files in Directory1... (19 Replies)
Discussion started by: John William
4. Shell Programming and Scripting
Looking for some help with a script that will take all files in any given root folder (which are not already in a folder) and put them into separate folders with the name of each given file.
Thank you! (1 Reply)
Discussion started by: DanTheMan
5. Shell Programming and Scripting
Suppose i have a word "mail".
I have to search this word in all files inside a directory and it's sub-directories.
It will also search in all hidden directory and sub-directories.
If it finds this word in any file it will list that file.
How can i do this with perl/ruby/awk/sed/bash or... (9 Replies)
Discussion started by: cola
6. Shell Programming and Scripting
I am trying to write something to find the size of particular type of files in a directory & it's subdirectory and sum the size .. These types of file are found at directory level or its subdirectories level ..
find $S_PATH -exec ls -lad... (4 Replies)
Discussion started by: Vaddadi
7. Shell Programming and Scripting
here is the description to my problem.
input parameters: $date1 & $date2
based on the range i need to select the archived files from the archived directory and moved them in to working directory.
can u please help me in writing the code to select the multiple files based on the... (3 Replies)
Discussion started by: bbc17484
8. UNIX for Dummies Questions & Answers
I am adding some individual files to a tar archive and would like them to be added to the archive without any directory hierarchy, even though the files themselves exist in levels of hierarchy. Unfortunately, tar seems to always preserve the directory hierarchy when it adds the files.
Here is... (2 Replies)
Discussion started by: Special_K
9. UNIX for Dummies Questions & Answers
i need a script which will create a archive of the files older than 10 days........ (2 Replies)
Discussion started by: jayaramanit
10. Shell Programming and Scripting
I have written one script to calculate total space of all file in one directory, ignoring subdirectory, it works fine.
Now, I've been trying to calculate all files which includes files in any subdirectories.
I use recursive function to do this, but it can work only if there is only one... (4 Replies)
Discussion started by: KLL