Hello everyone. I just registered like 17 minutes ago and am new to UNIX/Linux. I work in a small department of an animation company that does compositing tricks to fix movie frames. After our work is completed we are tasked with creating a text log that has information on what work we had performed and basic shot information. I have taken C++ programming ages ago in a junior college, but barely remember anything. I want to create a script to make these log files for me and my co-workers. All of the information that goes into the logs are easily found in the terminal and it is just a matter of copying and pasting the information into a new file. Creating the files take anywhere from ten minutes to half an hour and it is a major pain in the butt.
The script I have created so far just echoes the easily found data onto the terminal for copying and pasting. That was the easy part. Now what I need is to figure out three more things to have an awesome script.
1. I need a way to echo out the user name of the person that created a file in a different directory.
2. Echo out my own user name.
3. Echo a list of directories with "pf_" (e.g. pf_blurFix)
Again, I am a UNIX/Linux noob and don't have too much experience programming. Any help would be very much appreciated.
I'm still working on this script and have run into a problem. Within a script, is it possible to navigate to other directories and list their contents? If I just type the command line in the terminal it works. But, if I use the script with the same command line, it doesn't work.
0
I have a script(main.sh) which calls another script(Get_Files.sh) and gets a value in a variable like the below:
File_to_Refresh="$(sh /Aug/work/Get_Files.sh /Aug/Work/Universal_File.txt)"
Now I have to schedule the script main.sh for 3 different files i.e. the Universal_File.txt with 3... (2 Replies)
I have the input file like this.
Input file: 12.txt
1) There are one or more than one <tr> tags in same line.
2) Some tr tags may have one <td> or more tna one <td> tags within it.
3) Few <td> tags having "<td> </td>". Few having more than one " " entry in it.
<tr> some td... (4 Replies)
Hi
I have a text file (Input.txt) with two column entries separated by tab as given below:
aaa str1
bbb str2
cccccc str3
dddd str4
eee str3
ssss str2
sdf str3
hhh str1
fff str2
ccc str3
.....
.....
..... (1 Reply)
Hi All,
Please help me and guide me to write a bash/shell script on Linux box to delete parent entry with all their child entries.
example:
Parent is :
----------
dn: email=yogesh.kumar@wipro.com, o=wipro, o=in
child is:
----------
dn: cn: yogesh kumar, email=yogesh.kumar@wipro.com,... (1 Reply)
Hello Everyone,
Here I am offereing my Services
Word Posting Content Posting
PDF to excel or word
Image to Ms Word typeing
Document Creation
Video Creation
Any type Copy-Paste
Ads Posting
Article Posting
Manual Directory Submission
PR Submission
Social Bookmarking
Web 2.0 Blogs... (1 Reply)
Before I start, two things.
1) Yes I know it's bad practice and obomination to all things holy, but I'm not a sys admin at JP Morgan, I'm a hobbyist tooling about in a VM, in my pants, at home.
2) If you are just going to flame for even considering hardcoding a root password, thanks, I get... (2 Replies)
1.Daily there will be 14 files in the data directory
2.someday's the 14 files receive more than once r twice with different time stamps....we need to chk the count of the file and if the count of the file is two.we need to combine the both the files.
3. if any duplicate data is there just... (1 Reply)