Welcome, Guest. Please login or register.

Author Topic: Copy all icons and keep drawer structure  (Read 1612 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline motorollinTopic starter

  • Hero Member
  • *****
  • Join Date: Nov 2005
  • Posts: 8669
    • Show only replies by motorollin
Copy all icons and keep drawer structure
« on: November 30, 2006, 06:25:42 PM »
When I get my A4000 I will be reinstalling OS3.9. On my A1200 I have spent a lot of time customising my Workbench icons with Powericons. I would like to find a way to copy all of the .info files and keep the folder structure, which I can then copy on to my new 3.9 installation on the A4000 and it will replace all of the systems icons in all of the drawers (and sub-drawers) on the Workbench installation. Is there any way to do this?

--
moto
Code: [Select]
10  IT\'S THE FINAL COUNTDOWN
20  FOR C = 1 TO 2
30     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NAAAA
40     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NA-NA-NAAAAA
50  NEXT C
60  NA-NA-NAAAA
70  NA-NA NA-NA-NA-NA-NAAAA NAAA-NAAAAAAAAAAA
80  GOTO 10
 

Offline adolescent

  • Hero Member
  • *****
  • Join Date: Sep 2003
  • Posts: 3056
    • Show only replies by adolescent
Re: Copy all icons and keep drawer structure
« Reply #1 on: November 30, 2006, 06:27:50 PM »
Can't you just do COPY #?.info ALL CLONE
Time to move on.  Bye Amiga.org.  :(
 

Offline motorollinTopic starter

  • Hero Member
  • *****
  • Join Date: Nov 2005
  • Posts: 8669
    • Show only replies by motorollin
Re: Copy all icons and keep drawer structure
« Reply #2 on: November 30, 2006, 06:30:32 PM »
Dunno, can I? :-)

I'm guessing the ALL command will make it recurse in to subdirectories. Will it recreated the drawers as required? E.g. if I do 'COPY SYS:#?.info RAM:Sys/ ALL CLONE', will I get a DEVS drawer in RAM:Sys with the correct icon, and within that all of the drawers in DEVS: with the correct icons and so on.

Sorry but my AmigaDOS isn't as good as it used to be :-)

--
moto
Code: [Select]
10  IT\'S THE FINAL COUNTDOWN
20  FOR C = 1 TO 2
30     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NAAAA
40     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NA-NA-NAAAAA
50  NEXT C
60  NA-NA-NAAAA
70  NA-NA NA-NA-NA-NA-NAAAA NAAA-NAAAAAAAAAAA
80  GOTO 10
 

Offline stopthegop

  • Hero Member
  • *****
  • Join Date: Feb 2006
  • Posts: 831
    • Show only replies by stopthegop
Re: Copy all icons and keep drawer structure
« Reply #3 on: November 30, 2006, 06:59:06 PM »
Moto:

There is a program called "multiren" (multi-rename) that should do this.  Its got options to filter like "directories only", "files only", "files and directories", or just ".info files only".  You can select multiple paths and, of course, select and deselect subdirectories.  Make the selections of files you want converted.  Save this list as "motosicons2bchanged".  Apply the rename command to all your selected icon files (I think you use #? to mask, i.e. #?.info->#?.old).  Not sure, something like that..  Then copy the new .info files.  Theres a few multi-renaming tools on aminet..  I think thats what you need for this..  
Primary:
A4000T. Phase5 PPC604e-233mhz/060-66mhz. Mediator, Z3 Fastlane, Voodoo5, Delfina, X-Surf, AD516, Peggy Plus.

Collection:
A4000D, A1200, A500, Milan060 (Atari clone), Atari MegaSTE, Atari TT030, C64, C128, Mattel Aquarius, (2) HP Jornada....
 

Offline adolescent

  • Hero Member
  • *****
  • Join Date: Sep 2003
  • Posts: 3056
    • Show only replies by adolescent
Re: Copy all icons and keep drawer structure
« Reply #4 on: November 30, 2006, 07:01:11 PM »
Well, it didn't work (sorry).  But, LHA (or LZX probably) will do what you want, and package everything up nice for you.

lha -r a ram:sysicons.lha sys:#?.info

Time to move on.  Bye Amiga.org.  :(
 

Offline motorollinTopic starter

  • Hero Member
  • *****
  • Join Date: Nov 2005
  • Posts: 8669
    • Show only replies by motorollin
Re: Copy all icons and keep drawer structure
« Reply #5 on: November 30, 2006, 07:14:32 PM »
Quote
adolescent wrote:
lha -r a ram:sysicons.lha sys:#?.info

Yep, that worked. Thanks :-)

--
moto
Code: [Select]
10  IT\'S THE FINAL COUNTDOWN
20  FOR C = 1 TO 2
30     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NAAAA
40     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NA-NA-NAAAAA
50  NEXT C
60  NA-NA-NAAAA
70  NA-NA NA-NA-NA-NA-NAAAA NAAA-NAAAAAAAAAAA
80  GOTO 10
 

Offline jmbattle

  • Sr. Member
  • ****
  • Join Date: May 2005
  • Posts: 324
    • Show only replies by jmbattle
    • http://www.amigainabox.co.uk
Re: Copy all icons and keep drawer structure
« Reply #6 on: December 01, 2006, 02:40:56 AM »
Yes, back in the day I used to do something similar to exchange icon sets on AIAB.

Cheers,
James