Last active
August 29, 2015 14:17
-
-
Save tobigue/97f593a62fbc4b2b4354 to your computer and use it in GitHub Desktop.
apachenpub
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
mkdir -p /home/$USER/Desktop/apachenpub/ | |
date >> /home/$USER/Desktop/apachenpub/__LOG__.txt ; | |
find /home/$USER/Desktop -maxdepth 1 -type f -atime +14 -exec mv -v {} /home/$USER/Desktop/apachenpub/ \; >> /home/$USER/Desktop/apachenpub/__LOG__.txt ; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment