* Adding data to file name
@ 2002-09-30 18:29 Paul Kraus
2002-09-30 20:19 ` Jim Reimer
0 siblings, 1 reply; 2+ messages in thread
From: Paul Kraus @ 2002-09-30 18:29 UTC (permalink / raw)
To: linux-newbie
[-- Attachment #1: Type: text/plain, Size: 289 bytes --]
I have script that calls smbtar. Then for the output file I want it to
display the date.
smbtar ..... -t "/home/pdk/backup.MM.DD.YY"
Where mm.dd.yy is current month date and year.
Paul Kraus
Network Administrator
PEL Supply Company
216.267.5775 Voice
216-267-6176 Fax
www.pelsupply.com
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Paul Kraus (pkraus@pelsupply.com).vcf --]
[-- Type: text/x-vcard; name="Paul Kraus (pkraus@pelsupply.com).vcf", Size: 592 bytes --]
BEGIN:VCARD
VERSION:2.1
N:Kraus;Paul
FN:Paul Kraus (pkraus@pelsupply.com)
ORG:PEL Supply Company
TITLE:Network Administrator
TEL;WORK;VOICE:(216) 267-5775
TEL;CELL;VOICE:(216) 410-5526
TEL;WORK;FAX:(216) 267-6176
ADR;WORK:;;4666 Manufacturing Road;Cleveland;Ohio;44135;United States of America
LABEL;WORK;ENCODING=QUOTED-PRINTABLE:4666 Manufacturing Road=0D=0ACleveland, Ohio 44135=0D=0AUnited States of Ame=
rica
ADR;HOME:;;;;;;United States
LABEL;HOME:United States
URL;WORK:http://www.pelsupply.com
EMAIL;PREF;INTERNET:pkraus@pelsupply.com
REV:20020416T182124Z
END:VCARD
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Adding data to file name
2002-09-30 18:29 Adding data to file name Paul Kraus
@ 2002-09-30 20:19 ` Jim Reimer
0 siblings, 0 replies; 2+ messages in thread
From: Jim Reimer @ 2002-09-30 20:19 UTC (permalink / raw)
To: Paul Kraus; +Cc: linux-newbie
Paul Kraus wrote:
> I have script that calls smbtar. Then for the output file I want it to
> display the date.
>
> smbtar ..... -t "/home/pdk/backup.MM.DD.YY"
>
> Where mm.dd.yy is current month date and year.
>
> Paul Kraus
> Network Administrator
> PEL Supply Company
> 216.267.5775 Voice
> 216-267-6176 Fax
> www.pelsupply.com
dt=`date +%m.%d.%y`
smbtar ..... -t /home/pdk/backup${dt}
ought to work.
-jdr-
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-09-30 20:19 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-09-30 18:29 Adding data to file name Paul Kraus
2002-09-30 20:19 ` Jim Reimer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox