Search Results

Search: Posts Made By: pulkit
1,845
Posted By pulkit
Help needed for Shell Script.....
Hello Friends,

Can you pls advice me on the following requirement:

What we'd like to achieve is the following:
- having a password.properties file which contains some passwords, e.g....
17,997
Posted By pulkit
Multiple Files deletion in perl
Hello Friends,

I want to delete all the "*.trg" files in a directory but i don't want to do it by

system("rm -r *.trg");

Can i do it thru unlink or by any other mean

Thanks,
Pulkit
6,212
Posted By pulkit
Thanks, But after using .dot operator and numeric...
Thanks, But after using .dot operator and numeric values it is giving:


Argument "1 1 1 1 1 3 3 3 3\n" isn't numeric in sprintf at ./merge_eod.pl line 29, <APF> line 1.
6,212
Posted By pulkit
Getting warning in the Perl Script
Hello All,

I have written the below perl script:

#!/usr/bin/perl
use strict;
use warnings;

if ($#ARGV != 2) {
print "usage: merge_eod AP_filename IE_filename \n";
exit;
}...
19,249
Posted By pulkit
Trick to ignore space in folder name
Hello All,

I am getting error while passing a folder name that has space to the cmd line argument.

sh log_delete2.sh "/home/kumarpua/TESTARTIFACTS/atf-chix/ATF-subversion-dev/ssenglogs/A RM"
...
4,370
Posted By pulkit
Thanks in Tons...:)
Thanks in Tons...:)
4,370
Posted By pulkit
Yes its a kind of assignment...:)
Yes its a kind of assignment...:)
4,370
Posted By pulkit
command for deleting log files based on some condition
Hello,

Can anyone pls. provide me with the command for deleting files older then 15 days with a restriction to keep at least 5 files in a directory even if they are older then 15 days.

Any help...
Showing results 1 to 8 of 8

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