🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: es.comp.os.linux.programacion
Article #545

Re: script para backup

#545
From: Exal de Jesus Garcia Carrillo
Date: Thu, 14 Jun 2007 00:15
33 lines
1801 bytes
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Ariel wrote:

> Hola,
> necesito hacer un .sh para mediante el uso del comando tar hacer un
> backp de los archivo .c modificados en la ultima semana (tomando en
> cuenta la fecha de ejecucion del script).
> Alguna idea?
> Desde ya muchas gracias.


Pues ya empiézale, 
tips: 
* para lo de la fecha de modificación de los archivos puedes utilizar
find(1) (con énfasis en la opción -mtime)
* obviamente tambien con find(1) localizas los ficheros .c.

saludos,

- -- 
Spam protection:
replace the word `no-spam' for exal

.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFGcIi2oZmxoVJRtGIRAuQ6AJ9UfJ+Lu8S2p7bYewRFK5GgzkMJmQCglz6L
kAXCJZJrQnjiohRLvVcVZns=
=rytQ
-----END PGP SIGNATURE-----
Technical Details
Message-ID: <f4q1c8$b51$1@hercules.cohp1>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsfeed.hal-mli.net!feeder1.hal-mli.net!antonio.escomposlinux.org!reboot.escomposlinux.org!hercules.escomposlinux.org!escomposlinux.org!not-for-mail
References: <1181762253.456475.251330@a26g2000pre.googlegroups.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: f86c8,70f0d0d50ceeb3d6
X-Google-Attributes: gidf86c8,public,usenet
X-Google-Language: SPANISH,UTF8
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsfeed.hal-mli.net!feeder1.hal-mli.net!antonio.escomposlinux.org!reboot.escomposlinux.org!hercules.escomposlinux.org!escomposlinux.org!not-for-mail
From: Exal de Jesus Garcia Carrillo <no-spam@gnu.org>
Newsgroups: es.comp.os.linux.programacion
Subject: Re: script para backup
Date: Wed, 13 Jun 2007 19:15:50 -0500
Organization: Church of Emacs
Lines: 33
Message-ID: <f4q1c8$b51$1@hercules.cohp1>
References: <1181762253.456475.251330@a26g2000pre.googlegroups.com>
NNTP-Posting-Host: 189.149.108.130
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8Bit
X-Trace: hercules.cohp1 1181780170 11425 189.149.108.130 (14 Jun 2007 00:16:10 GMT)
X-Complaints-To: newsmaster@news-17.escomposlinux.org
NNTP-Posting-Date: Thu, 14 Jun 2007 00:16:10 +0000 (UTC)
User-Agent: KNode/0.10.4