Mathematics
 
 
MTH 568 - Compuational Science

 

Home
 

Syllabus
 

Course Outline
 

Resources
 

Contact Info


 
File Manipulation in Perl



Perl is a very useful language for doing tedious tasks with files and directories.
 
 

  • Renaming Files
    • Download, unzip, and untar the following file: hello.tar.gz
    • Rename the files using rename (read script for how to use rename)

     
  • Searching for Files
    • Perl script for searching for a filename in a particular directory
    • Try to find one of your files using script from /home
    • filesearch