Welcome, Guest. Please login or register.

Author Topic: Arexx Help  (Read 1504 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline pVC

Re: Arexx Help
« on: July 21, 2003, 05:45:03 PM »
Oh.. Roj was faster, but I was thinking the same.. here's my quickly made amigados-script for comparison :) I don't take any responsibility of lost data ;)

.KEY filedate/A,sourcepath/A,destpack/A
.BRA {
.KET }

cd {sourcepath}
echo "Scanning directories for archived files at {sourcepath}"
c:list files since {filedate} all lformat %P%N > ram:t/archlist
lha -a -e -x a {destpack} @ram:t/archlist


Example (those lines are written in arkistoi file):

21.Burn:> execute arkistoi 20-jun-03 dh0: ram:sysbackup.lha
Scanning directories for archived files at dh0:
LhA Freeware Version 1.94
Copyright © 1991-94 by Stefan Boberg.
Copyright © 1998 by Jim Cooper.

Creating new archive 'ram:sysbackup.lha':
     Frozen: ( 55.8%)    3905 =>   1724 : S/user-startup
     Frozen: ( 77.2%)    7382 =>   1676 : Utils/Opus5/Buttons/games
     Frozen: ( 76.9%)    7616 =>   1758 : Utils/Opus5/Buttons/gfx

etc...

Daily MorphOS user and Amiga active.
 

Offline pVC

Re: Arexx Help
« Reply #1 on: July 21, 2003, 08:42:24 PM »
Hmmm... hard to say. Look what's the last working file in that archlist file... and then try listing files from around it with list command, if you can find the error in that way.. if it's because of some file :)

And Jupp3 had good point there too, better check if lha has option to pack depending the dates ;)
Daily MorphOS user and Amiga active.