on 04-12-2010 12:38 PM
We have problem while executing the "move ( MV ) " command with wildcard character ( '*' ) in file communication channel (Run Operating System command option ). Command is not executing properly.
e.g. mv /archive/test* /output/
have anyone experienced the same problem ?
Thanks & Regards,
Dijesh Tanna.
As far as i know, that doesnt work.
In Unix environment, the below code will work
name=`test*`
target=`xxxfolder`
file_list=`find $name -type f`
for fname in $file_list ; do
echo "Moving: " $fname
mv -Eignore $fname $target
done
Edited by: Praveen Gujjeti on Apr 12, 2010 5:44 PM
Edited by: Praveen Gujjeti on Apr 12, 2010 5:46 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Dijesh,
Is this command working on standalone system? If no then try to make it work there and then in the OS section of the channel.
Also try to use -f option with this command
Regards
Suraj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.