Right this is quite a long one,
I have a script which complies all listed stats files into one file and emails it out,
However this has to be run manually and i would like it to run automatically,
I have a list of files eg
one file for each of last weeks working days,
howver I need them in this format
And then I need to use them as the input to a script.
any info is helpful
right Im thinking an easier way is run a find to get all the sa files written last week and then I want to run my sar.sh script on each of these. so at the momment i have
is this ok as at the minute it doesnt seem to be working
Last edited by Franklin52; 09-25-2012 at 10:31 AM..
Reason: Please use code tags for data and code samples
Hi All,
We've a VDI infrastructure in AWS (AWS workspaces) and we're planning to automate the process of provisioning workspaces. Instead of going to GUI console, and launching workspaces by selecting individual users is little time consuming. Thus, I want to create them in bunches from AWS CLI... (6 Replies)
Hello Folks,
I have an requirement, where i need to get total count of the file based on creation date with there filename selected pattern.
Filename: MobileProtocol.20171228T154200.157115.udr
I want to get the count of files created on each day based on a pattern find.
find . -type... (7 Replies)
Hi,
I need a way to remove all folders that contain "Quick" in their names in a directory called /var/tmp...
However all attemps I have tried won't work. :wall:
I so far tried
find /var/tmp -type d -name "Quick" | sudo xargs rm -rf
find . -name "Quicklook" -exec rm -rf {} \;
find .... (2 Replies)
Hi,
I have 80 large files, from which I want to get a specific value to run a Bash script. Firstly, I want to get the part of a file which contains this:
Name =A
xxxxxx
yyyyyy
zzzzzz
aaaaaa
bbbbbb
Value = 57
This is necessary because in a file there are written more lines which... (6 Replies)
I have two files like ABC_DEF_yyyyymmdd_hhmiss_XXX.txt and ABC_DEF_yyyyymmdd_hhmiss_YYY.txt. The date part is going to be changing everytime. How do i remove this date part of the file and create a single file like ABC_DEF_XXX.txt. (8 Replies)
Hi All,
I am writing a script to work with files in a folder.
The files are all in the following patterns (without quotes):
"some filename - NxNN - the end.YYY"
or
"some filename - NNxNN - the end.YYY"
Where N = a single number and YYY is the extension.
Basically what I want... (5 Replies)
Ok, so let's say that I have a file like the following:
I want to create 100 replicates of this file, except that for each file, I want different randomized combinations of either A or B at the end of each line so that I would end up with files like the following:
and
etc.
I... (1 Reply)
hi all,
I am having trouble finding the right string for this - I dont know whether to use awk or sed..
If I have a file with alot of names and phone numbers like this
McGowan,Sean 978-934-4000
Kilcoyne,Kathleen 603-555-1212
Club603,The 617-505-1332
Boyle,William 301-444-1221
And... (11 Replies)
I am special requirements to rename file.
I have files with names like below:
1_firstname1_lastname1.html
2_firstname2_lastname2.html
3_fistname3_lastname2.html
I would like these file to be renamed as below
firstname1_lastname1.html
firstname2_lastname2.html... (5 Replies)