How can I copy and rename a file in Vortex?
copy/rename file
-
John
- Site Admin
- Posts: 2623
- Joined: Mon Apr 24, 2000 3:18 pm
- Location: Cleveland, OH
copy/rename file
You can use the <sysutil> functions, which include copy and rename.
John Turnbull
Thunderstone Software
Thunderstone Software
-
sourceuno
- Posts: 225
- Joined: Mon Apr 09, 2001 3:58 pm
copy/rename file
How can I use sysutil to move a group of files using wildcards? I tried the following, but it didn't work:
<sysutil mv "file*.*" "c:\test">
<sysutil mv "file*.*" "c:\test">
-
Kai
- Site Admin
- Posts: 1272
- Joined: Tue Apr 25, 2000 1:27 pm
copy/rename file
See the manual at http://www.thunderstone.com/site/vortexman/node173.html . You need to enable filename globbing with the `glob' option, eg.:
<sysutil mv glob "file*.*" "c:\test">
otherwise the asterisks are taken literally.
<sysutil mv glob "file*.*" "c:\test">
otherwise the asterisks are taken literally.
-
mark
- Site Admin
- Posts: 5519
- Joined: Tue Apr 25, 2000 6:56 pm
copy/rename file
Use <stat> to obtain the list of files and mv each individually in the loop.