NCSA Home
Contact Us | Intranet | Search

Wildcards


How can I use wildcards in UniTree?

    To get every file with a ".f" extension, while in UniTree issue the command
    ftp> mget *.f
    
    If you do not wish to be prompted before each get, issue the command "prompt". This command toggles the prompting option off. (By default, prompt is on when UniTree is accessed with the command "ftp mss.ncsa.uiuc.edu" and is prompt is off by default at all other times.) From an ncsa production machine, issue the command
    % msscmd mget '*.f'
    

How can I get, put, delete multiple files in UniTree?

    The commands mget, mput, mdelete all work with wildcards.

Are there any limits on the number of files I can transfer with mput/mget?

    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.

Is there a wildcard for chmod and chgrp within ftp?

    Before Dec. 2008, there was no wildcard for chmod and chgrp within ftp.
    After Dec. 2008, wildcards are supported for these commands.