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 gkittelson 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. namityadav

    script to copy files based on available disk space

    Hi, Here are answers to those questions: 1. Script needs to copy all files from a specific remote directory whose names have a defined structure (like abc_*) 2. Yes, all files are new .. so sync won't help 3. Files won't exist on local machine 4. Stop copying the files from remote machine when...
  2. namityadav

    script to copy files based on available disk space

    Thanks for the reply, PHV. My problem is not cron or du. My problem is that I want to achieve all that in a single ssh tunnel (a set of ';' seperated commands in ssh, perhaps). And how can I take care of the 90% disk space problem .. as this problem can happen during an already-under-execution...
  3. namityadav

    script to copy files based on available disk space

    I have to write a script that will be executed periodically to copy files from a remote server, and will have to do the following: 1. Check the disk space on local server, find out how much free disk space is available for the copying (We can assume that the copying can take 90% of the total...
  4. namityadav

    script to copy files based on available disk space

    I have to write a perl script that will be executed periodically to copy files from a remote server, and will have to do the following: 1. Check the disk space on local server, find out how much free disk space is available for the copying (We can assume that the copying can take 90% of the...
  5. namityadav

    Perl using ssh

    using ssh -l loginname won't help as then he will be asked for password, right? The key that he generated won't work for the other effective userID ( I guess :-/ )

Part and Inventory Search

Back
Top