Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. nrastogi

    Remove files - using date range input

    Thanks so much!
  2. nrastogi

    Remove files - using date range input

    Hey guys, I need help. If you know the answer, then only respond! Otherwise, no need to post anything in reply. Thanks.
  3. nrastogi

    Remove files - using date range input

    Hi, I like to accomplish the following sets of commands using the script - cd /archive/users/ rm *090305* rm *090405* rm *090505* .... .... rm *100205* Basically, I like to remove all files that exists in /archive/users/. I like to use a date range and delete all files from that date...
  4. nrastogi

    Linux - Scripting, Please help

    Tested using copy (instead move) = find /wolf/day/month/AA/[0-9][0-9]/* -type f -mtime -7 -exec cp {} /home/jdoe/AA \; When I run this in development, it works. When running in Production, I does not copy files into home directory. I am getting this message - >>>>>> bash...
  5. nrastogi

    Linux - Scripting, Please help

    Hi Sam, It worked! I tested it using cp (i am sure mv will work too). But, how do I preserve date and time of the files using this command. When I run it to copy to home directory, it creates (copies) with today's date. I like to keep the old (original) date (and time). Please suggest...
  6. nrastogi

    Linux - Scripting, Please help

    Hi Sam, I like to automate the process so I don't have to manually type the directory name [0-9] [0-9]. There can be other sub-directories other that 2 digit directories. So, I like to disregard any other directory that is not named as 2 digit. I only like to move files from 2 digit...
  7. nrastogi

    Linux - Scripting, Please help

    Hi, I need to move files from one directory to another. There are sub-directories under AA directory. These subdirectories are named as 2 digit number. I need to read all these 2 digit name directories for a certain date range and move those files to /home/arc directory (parent, no...
  8. nrastogi

    hide / display select box

    Hi Dan, Just a final question. Is this code compatible on old browsers like IE5 and up. Netscape? Thanks much, NR
  9. nrastogi

    hide / display select box

    Hi Dan, Thanks so very much for all help. This works quite well. Thanks again a lot. Regards, NR
  10. nrastogi

    hide / display select box

    Hi Billy, I ran your code. Ideally, This is exactly what I want. But, I can not use this technique as I can not hard code the values of the select to block or none. I want something happen conditionally. Please let me know if you could provide me the solution by looking at my code. Thanks so...
  11. nrastogi

    hide / display select box

    Hi LV, Here is the code... I would like to display enduser select only if the value of report type is 2. function dispenduser() { if (document.chsreport.reportty.value == 2) { document.chsreport.enduser.style.display = "block"; } else {...
  12. nrastogi

    hide / display select box

    Thanks so much guys... I tried LV's code and it worked like a charm.. I have a label and the select box next to the label. When I run the code, it moves the select box show up just below the label, instead next to the label. Any ideas?? Also, Is there a way to hide & display the label as...
  13. nrastogi

    hide / display select box

    Hello all, Could you please help me out on this... I would like to hide and display a select box depending on the value selected in another select box. Thanks so much in advance for assistance. NR
  14. nrastogi

    Include value in HREF

    Thanks so much Billy... Regards,NRastogi
  15. nrastogi

    Include value in HREF

    Hello all, In an JavaScript function, I am getting some value into a variable called procid. Down the page, I have this link <a href=&quot;/abc/xyz.htm&quot;> I would like to pass the value of this variable procid as an parameter in the href...so it would look like <a...
  16. nrastogi

    Include Variable in HREF

    Hello all, In an JavaScript function, I am getting some value into a variable called procid. Down the page, I have this link <a href=&quot;/abc/xyz.htm&quot;> I would like to pass the value of this variable procid as an parameter in the href...so it would look like <a...
  17. nrastogi

    Extract Lines from a file

    Hi PH, Tried to debug the errors and got success. Here is what I tried. d=&quot;03/12/01&quot; awk -F@ ' $1~&quot;^\[[0-9][0-9]/[0-9][0-9]/[0-9][0-9]&quot;{f=0} $1==&quot;['$d'&quot; {++f} {if(f) print} ' inputfile > esl.out but, like I said, this one gives all the lines from 03/12/01. I...
  18. nrastogi

    Extract Lines from a file

    Thanks PH so very much. #1 works like a charm. I tried #2. Created a new x.sh and copy your snippet in there. Ran it from command line using . x.sh got following errors: awk: cmd. line:4: {if(f){print)} awk: cmd. line:4: ^ parse error awk: cmd. line:5: (END OF FILE) awk: cmd...
  19. nrastogi

    Direct access of files through URL

    Hello guys, I am running into this problem and need your help to resolve the issue. Am using Apache Web Server. On my website, I have a login that takes you into the website. So, you access those pages (after login page) after you enter username and password and get into the site. Some people...
  20. nrastogi

    Extract Lines from a file

    Hello guys, New to unix scripting here. Question 1: I have this text (log) file that has lines that contains ** (two asterisk) in few lines. I would like to read the file and spit out only those lines that contains ** to a file with the line break. Question 2: Would like to do the same...

Part and Inventory Search

Back
Top