[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Effacer les fichiers qui datent de x jours...
- To: Jean-Marc MONGRELET <jeanmarc.mongrelet@free.fr>
- Subject: Re: Effacer les fichiers qui datent de x jours...
- From: Bernard Schoenacker <bernard.schoenacker@free.fr>
- Date: Sun, 11 Apr 2021 17:36:44 +0200 (CEST)
- Authentication-results: pic2s.le-pic.org; dkim=pass (2048-bit key; unprotected) header.d=free.fr header.i=@free.fr header.b="HEVnpSND"; dkim-atps=neutral
- Cc: Linux 31 <linux-31@culte.org>
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/simple; d=free.fr; s=smtp-20201208; t=1618155404; bh=l3OTpil1fjUxQl5E/Lmzf6PydvJxHz0WMTYI0OX7Z6I=; h=Date:From:To:Cc:In-Reply-To:Subject:From; b=HEVnpSND6r+QcSBWEc3Wm2Qfz4ER9flBdw4+SZjd4zGoiG1Ke90dlb4zb2KP0b2dS 3y1jzFtkLzpKaVFrTxCZ07GnPy1ICCfYZph8R7Ng0hZhsNF4ndNBtCMLO8MVHwoIEa ZlUwzBwMd4SQaeQBDkB3ZPQxNbhm4zlHuO5f7iQ/zgqW/vgg+9acYfk3BJzqaahMMA vnpLCcQPmFUNLAUJxrl5eIRgnF43Pjsc8PQXeoIoVSfUKJT8hU5zUv8SymAU5ZmY9G kOaScJPi6f7sLESTBkPkT7SbaAD6gZcv7TyxiQWgQBF/KuLhEvm+zpxFdFXG0s8BMV RXnkcmOnDlKWQ==
- In-reply-to: <fe315f0976e37fc149cc73a760b0b533@free.fr>
----- Mail original -----
> De: "Jean-Marc MONGRELET" <linux-31@culte.org>
> À: "Linux 31" <linux-31@culte.org>
> Envoyé: Dimanche 11 Avril 2021 17:25:28
> Objet: Effacer les fichiers qui datent de x jours...
>
> Bonjour,
>
> J'ai un truc à la c?n à faire...
> Faire un script qui efface dans un répertoire, les fichiers qui
> datent
> de x jours...
> Une idée pour faire ça ?
>
> JM
>
Hi,
Sorry, why do not consult the web and the rtfm ?
the answer are disponible on this website :
https://www.2daygeek.com/bash-script-to-delete-files-folders-older-than-x-days-in-linux/
https://stackoverflow.com/questions/13489398/delete-files-older-than-10-days-using-shell-script-in-unix#13489511
thanks for your kind attention
cheers
Bernard