How to find and delete older files (older than 7 days) in a folder using a bash script? Its a folder in a server which contain automatic backups. Need to delete old ones automatically so there's space for new ones.
Can some1 help me to make a crontab ftp upload script plz?
I need a script what will ping my xbox, if ping replays then it will exec a ftp upload script and upload folder what is presented in my xbox upload directori. if upload is sucessfull then it will delete files and folders what is in my computer.
I have searched but I have not found a script what can upload a folder, only for files.
I'm trying to make a pomodoro script, just for fun haha. The ideia is that every 30 minutes, a pic pop up on the screen... so its coffee time! ;)
I planned something simple, like a scrip that opens a pic, run by the crontab.
I got a script that opens a jpg image using EOG.
I found a script that can delete files over X days old and changed it a bit so that i will scan different network folders to see if there are files that are older than X days. Now when i run the script with PowerShell ISE the script is working fine and doing what it should do.
Hio, So I have a crontab delete of older files setup. This script works fine if I run them by each individual directory.
Problem is there are so many thousands of files and hundreds of directories and sub directories that I need to recursively have it go through and delete files by directory instead of doing the "\*\*\" method.