Shell script to move files older than 30 days. We would like to show you a description ...

Shell script to move files older than 30 days. We would like to show you a description here but the site won’t allow us. PowerShell script to move files and folders including subfolders from one location to another older than x days Asked 13 years ago Modified 6 years, 6 months ago Viewed 92k times Feb 20, 2014 · I would recommend usage of “forfiles” command which can check files/folders “n” days old and perform various actions (DOS commands or to call PowerShell and VB scripts). Step-by-step guide with real examples to search and manage old files efficiently. (these 3 directories are children of a parent directory /a/b/c/1 & /a/b/c/2 & /a/b/c/3) Can this be done with one line in the crontab? Feb 7, 2022 · Ravi Kanth Koppala 3,396 • Microsoft Employee • Moderator Feb 7, 2022, 9:32 AM @Kurratot , Thank you for reaching out to the Microsoft Q&A platform. Nov 21, 2009 · 174 This question already has answers here: Shell script to delete directories older than n days (5 answers) Thats a script that will move files older than one year, it even supports various date formats and subfolders. Jun 14, 2025 · The solution? A PowerShell script to automatically delete files older than 30 days. Description can be found here Forfiles | Microsoft Learn and here Forfiles - Batch process multiple files - Windows CMD - SS64. Use the -exec in find to mv the files. My log partition is getting full, but I can not remove them. . nvoq ttti knvxo rljf wymptf drsgs ffzba bkhs kly uiaxn
Shell script to move files older than 30 days.  We would like to show you a description ...Shell script to move files older than 30 days.  We would like to show you a description ...