shell-script-pt
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [shell-script] FTP mv


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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]