|
From: | Renato S. Yamane |
Subject: | Re: [shell-script] FTP mv |
Date: | Sat, 09 Feb 2008 19:59:14 -0200 |
User-agent: | Thunderbird 2.0.0.9 (X11/20071031) |
patrick escreveu:
Realmente o * não funciona no shell script somente em linha de comando. Nem no mv e nem no cp. Já testei as duas maneiras.
===script.sh=== #!/bin/bash touch alisson.txt touch alisson2.txt mkdir lixo mv alisson* lixo/ ================ $ ./script.sh $ ls lixo/ alisson2.txt alisson.txt Portanto, aqui no Debian 4.0r2 os coringas funcionam perfeitamente. Att, Renato
[Prev in Thread] | Current Thread | [Next in Thread] |