NCSA Home
Contact Us | Intranet | Search

Wildcards


How can I use wildcards in MSS?

    On NCSA HPC systems, the local mssftp client and its command line interface, msscmd, support wildcards in commands. For example, to get every file with a ".f" extension in the MSS home directory:

    From an NCSA HPC system:

    msscmd get *.f
    

    When working from non-NCSA systems, a secure copy can be convenient:

    scp your_login@mss.ncsa.uiuc.edu:~/\*.f local_path
    
    Note: that wildcards * and ? have to be escaped with a backslash (\) in scp.

Are there any limits on the number of files I can transfer with wildcards?

    The command mget will only transfer the first 500-600 files matching the wildcard. If you need to transfer more files you will need to supply a more specific pattern or preferably use tar to create a single file to transfer.