1 Aug
1999
1 Aug
'99
17:19
Hi, #!/bin/sh FN=etc-$(date +%Y-%m-%d) tar -zcf $FN.tar.gz /etc You can also use "-T" to supply a list of files to tar. for complete list of flags (about 12 million of them) run: # info tar -alexm On Sun, 1 Aug 1999, Miguel G. wrote:
could anyone help me with a very simple script? (it simply doesn't work the variables stuff) and also how can I modify this (tar) to retrive only files which I might get as new from $(find ...)
set $FN = etc-$(date +%Y-%m-%d) tar -cf $FN.tar /etc/ gzip $FN.tar