Search Results

Search: Posts Made By: personalt
2,970
Posted By personalt
Loop through directory and extract sub directory names
I am trying to loop through folders and extract the name of the lowest level subfolder

I was running the script below, it returns
/bb/bin/prd/newyork
/bb/bin/prd/london
/bb/bin/prd/tokyo

I...
3,157
Posted By personalt
Thank you very much... I actually have a...
Thank you very much...

I actually have a few hundred fields to check. Since I am scripting the scripts I ended up converting this to following. I also made change to only search for instances...
3,157
Posted By personalt
Grepping file and returning passed variable if the value does not exist in file at all.
I have a list of fields that I want to check a file for, returning that field if it not found at all in the file. Is there a way to do a grep -lc and return the passed variable too rather then just...
4,846
Posted By personalt
Thanks.. stat didnt work for me on this machine...
Thanks.. stat didnt work for me on this machine but the perl script worked like a champ..
4,846
Posted By personalt
Writing file name and date from LS command into a file to be imported into mysql
I am looking to do a ls on a folder and have the output of the ls be structured so that is is modificaiton date, file name with the date in a format that is compatible with mysql. I am trying to...
Showing results 1 to 5 of 5

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