Author Topic: <Solved>2012.08-mylivecd  (Read 557 times)

Offline gezza

  • Hero Member
  • *****
  • Posts: 513
<Solved>2012.08-mylivecd
« on: December 29, 2012, 01:45:34 AM »
Hi to all,
I need to create dated isos so I used the following as the iso image:-    /mnt/data2T/working/my32-2012.08_$date.iso
This does not seem to work. The iso has no date attached.
As the images are created semi automatically,  what could I use in it place? OR is it not possible to do this?
Gezza
« Last Edit: March 15, 2013, 02:24:48 AM by gezza »

Offline Just17

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 10633
  • MLUs Forever!
Re: 2012.08-mylivecd
« Reply #1 on: December 29, 2012, 03:08:47 AM »
Hi to all,
I need to create dated isos so I used the following as the iso image:-    /mnt/data2T/working/my32-2012.08_$date.iso
This does not seem to work. The iso has no date attached.
As the images are created semi automatically,  what could I use in it place? OR is it not possible to do this?
Gezza

'date' is a bash command, IIUC.

So

DATE=$(date)

will apply the output of the command to the variable 'DATE' .......  so $DATE should now hold the information.

Code: [Select]
[user@XPS ~]$ DATE=$(date); echo $DATE
Sat Dec 29 10:08:52 GMT 2012
[user@XPS ~]$
MLUs rule the roost!

Linux XPS 3.2.18-pclos2.pae.bfs  32 bit
Intel Core2 Quad CPU Q9450 @ 2.66GHz
4 GB RAM
MCP51 High Def Audio
GeForce GTX 550 Ti
PHILIPS  ‎DVD+-RW DVD8701
‎Logitech ‎BT Mini-Receiver
Afatech DTT

Offline gezza

  • Hero Member
  • *****
  • Posts: 513
Re: 2012.08-mylivecd
« Reply #2 on: December 29, 2012, 03:28:09 AM »
Hi Just17,
Many thanks for that, I will now try it out again.
By the way, I am Just76
Gezza

Offline Just17

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 10633
  • MLUs Forever!
Re: 2012.08-mylivecd
« Reply #3 on: December 29, 2012, 04:13:34 AM »
Hi Just17,
Many thanks for that, I will now try it out again.
By the way, I am Just76
Gezza

:D
MLUs rule the roost!

Linux XPS 3.2.18-pclos2.pae.bfs  32 bit
Intel Core2 Quad CPU Q9450 @ 2.66GHz
4 GB RAM
MCP51 High Def Audio
GeForce GTX 550 Ti
PHILIPS  ‎DVD+-RW DVD8701
‎Logitech ‎BT Mini-Receiver
Afatech DTT

Offline gezza

  • Hero Member
  • *****
  • Posts: 513
Re: 2012.08-mylivecd
« Reply #4 on: December 29, 2012, 04:45:24 AM »
Hi Just17 and sometimes Just18,
That confused the hell out of mylivecd.
too many things on the command line.
Removed the $DATE and all went well.
Looks as though I cannot data the livecd isos.
Many thanks anyway.
Gezza

Offline Just17

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 10633
  • MLUs Forever!
Re: 2012.08-mylivecd
« Reply #5 on: December 29, 2012, 05:10:45 AM »
Hi Just17 and sometimes Just18,
That confused the hell out of mylivecd.
too many things on the command line.
Removed the $DATE and all went well.
Looks as though I cannot data the livecd isos.
Many thanks anyway.
Gezza

You would need to do two commands ....  set the $DATE first and then do the livecd.

MLUs rule the roost!

Linux XPS 3.2.18-pclos2.pae.bfs  32 bit
Intel Core2 Quad CPU Q9450 @ 2.66GHz
4 GB RAM
MCP51 High Def Audio
GeForce GTX 550 Ti
PHILIPS  ‎DVD+-RW DVD8701
‎Logitech ‎BT Mini-Receiver
Afatech DTT