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 Wanet Telecoms Ltd 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

    ...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, THanks again for all help. Nick find /home/AA/[0-9][0-9]/* -type f -mtime -60 -exec cp{} /home/arc \;
  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

    ...sort of error handling you would when writing such shell scripts, please let me know. ======================================== cd /home/AA/10 mv *080706* /home/arc mv *080806* /home/arc cd /home/AA/12 mv *080706* /home/arc mv *080806* /home/arc cd /home/AA/45 mv *080706*...
  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

    ...{++f} {if(f) print} ' inputfile > esl.out but, like I said, this one gives all the lines from 03/12/01. I would like to get the ones that has ** in it. Also, in another script, how could I pass a date range to extract data. like from 03/12/01 to 03/12/02 or even 03/12/01 to 03/12/01. I...
  18. nrastogi

    Extract Lines from a file

    ...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. line:5: parse error Does this looking for ** as well Please help. Thanks NR
  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