Search Results

Search: Posts Made By: osramos
14,977
Posted By osramos
Ok, thanks a lot. That means the find...
Ok, thanks a lot.

That means the find command doesn't hane no tricky stuff to ignore sub-directories?

Regards

osramos
14,977
Posted By osramos
Find files ignoring subdirectories
Hi guys,

I am searching some files not equal to the pattern with this command

find ! -name "PATTERN" -type f

but my problem is the find command because he also search inside...
2,374
Posted By osramos
Hi, thanks for you help. Tell me another...
Hi, thanks for you help.

Tell me another thing, the 23999 value i supose is the same as 12Mb?
How this values appears?

Sorry for my newbie questions?
2,374
Posted By osramos
Check the size of files
Hi,

I need to put a script working to see in a directory with logs if exists file or files with size more than 12Mb.
If exists it shoul send mail.

Can anyone help me?

thanks
3,351
Posted By osramos
Script to move files based on Pattern don't work
Hi people,

i need you help on this if you can.

I have a script that does the move command when it searches for a that doesn't match the pattern. This Pattern is on a list.

When it run's and...
20,817
Posted By osramos
Hi guys, I picked this Post and i need help...
Hi guys,

I picked this Post and i need help to do something like that but with more "sapaces".

Example:

EDF Segur 200807.xls --> 2 spaces
EDF Segur 200808.xls --> 2 spaces
EDF St Bernabe...
3,173
Posted By osramos
Oh, i see. Another problem i have, assuming...
Oh, i see.

Another problem i have, assuming i'm using " ls !(pattern) ", is the shell i'm using.

The server is a Windows Server but have installed CYGWIN and Bash doesn't recognize the " ! "....
3,173
Posted By osramos
Ok, it works. But there are almost 50...
Ok, it works.

But there are almost 50 directories, with some of them with 4 or 5 files to exclude ( not match ).

Can do this with a FOR cycle or something similar?

osramos
3,173
Posted By osramos
Need script to find errored files inside directories
Hi people.

I working on a script to check for files that they are suposed not to be on the directory. I mean, inside of each directory it must have some files but some could be wrong, and i want...
7,646
Posted By osramos
Need solution for Bat FIle using FOR Cycle
Hi people.

Don't know if you could help me, but here it goes anyway.

I need to search for some directories, and if i for any file founded a must run another Bat file.

Can this be done in DOS...
4,172
Posted By osramos
Shell Script to execute SQL's
Hi people, i need youre help on this.

I need to create an Shell SCript to list in a directory some sql files and then execute them one by one .

Also i need to have Logs from the executed Sql's...
1,874
Posted By osramos
Rename file knowing the first 7 carachters
Hi, people.

I need some help with this:

i have this file " PROVEDP_???_yyyymmdd " , and i want to rename to this
" IN_PROV_yyyy???.dat " .

The " ??? " is the Month , but the file could be...
8,804
Posted By osramos
Hy Titalus i made this script with you...
Hy Titalus

i made this script with you example:

lista=`ls`

for file in $lista
do
new_name=`echo $file |awk '{print length($0)}'`

if [ $new_name < 15 ]

then
cp $file...
8,804
Posted By osramos
Count caraters on filename
Hello people.

I need some help to do this:

I've got some files that i need to count the caracters of filenames.

20080209_2000591574_237004076372.xml
20080202_1360584_267002636042.xml

The...
1,963
Posted By osramos
Help to switch dates from a file
Hi.
I need some assistance with a file who at the end i must import to EXCEL.

The problem is that i have a file with this inside:

Output:
JOBID START TIME END TIME ELAPSED ...
3,855
Posted By osramos
Backup Directories and SubDirectories with log using DOS
Hello.

I need to Backup an Directorie with Sub-directories and after that put in a log file.

Then i need to copy several files and have a log file to.

All that using old DOS. Could someone...
8,409
Posted By osramos
Join columns from 2 files
Hello.

Maybe i didn't explain well.

I want to put :

File 1

APPLICATION GROUP_NAME JOB_NAME ODATE STATUS START_TIME END_TIME ::

MODCMPDA EDPONLINE MC00A1700 071102 Ended OK 20071102...
8,409
Posted By osramos
Join columns from 2 files
Hello guys.

I need to join columns of Start Time and End time of 2 files.

The Examples is:

File 1

APPLICATION GROUP_NAME JOB_NAME ODATE STATUS START_TIME END_TIME ::

MODCMPDA EDPONLINE...
10,970
Posted By osramos
Hi, yes i have tried with you sed command like...
Hi, yes i have tried with you sed command like this :
cat report_jobs_CTM.csv | awk '{print $7 $8}' |sed 's/\(..\)\(..\)\(..\)$/ \1:\2:\3/' > new.csv
but the the result was this:

EN D_:TI:ME...
10,970
Posted By osramos
Converte DATE string to a formated text - Part2
Hello,

thanks to all who help me, but i make a mystake .

I've got this piece of file

APPLICATION GROUP_NAME MEMNAME ODATE STATUS ...
10,970
Posted By osramos
Convert DATE string to a formatted text
Hi guys, i need your help.

I need to convert a date like this one 20071003071023 , to a formated date
like 20071003 07:10:23 .

Could this be possible ?

Regards,

Osramos
Showing results 1 to 21 of 21

 
All times are GMT -4. The time now is 11:06 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy