Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
143 user(s) are online (80 user(s) are browsing Forums)

Members: 0
Guests: 143

more...

Headlines

 
  Register To Post  

« 1 (2)
Re: LHA Archiving questions....
Just popping in
Just popping in


See User information
Well.. I combined this with another script I've made earlier, and here's the result: download

Features:
- Creates separate archives of directories from the source dir
- Adds directory icons into the archives if found
- Handles spaces in dir names
- Progress output on the shell
- If there were errors while archiving, it informs on which dirs it happened
- Can be used with DOpus ("Execute S:archive_dirs.script {s} {d}", output to window)

Usage:
- Execute archive_dirs.script SOURCE DEST
- Important: DEST must end to : or /

Resized Image

Hope it doesn't contain much bugs :)


Edited by jPV on 2022/4/12 18:06:39
Go to top
Re: LHA Archiving questions....
Just can't stay away
Just can't stay away


See User information
@xenic

Quote:
I'm a DOpus4 user myself and thought I'd point out a simpler method of accomplishing archiving seperate directories.
Oh, sure, I'm not saying I use the simplest approach .

One advantage of doing it via an ARexx script is that I can handle errors more nicely, or at least (as in this script) bail out in error situations before doing any actual work/damage.

Best regards,

Niels

Go to top
Re: LHA Archiving questions....
Just can't stay away
Just can't stay away


See User information
@jPV

Quote:
Well.. I combined this with another script I've made earlier, and here's the result
Impressive stuff.

But I must admit I find it harder to read and understand what it does at a glance. than the ARexx approach. For me, that's preferable over a "clever" more convoluted solution.

A chacun son goût.

Best regards,

Niels

Go to top

  Register To Post
« 1 (2)

 




Currently Active Users Viewing This Thread: 1 ( 0 members and 1 Anonymous Users )




Powered by XOOPS 2.0 © 2001-2023 The XOOPS Project