Profile
Achievement
_reydin_'s Recent Snippets
- All /
« Prev 1 Next »
This is a batch file that will add the date to the end of all files in a particular directory located on the user's desktop and place them in a directory called Output_Renamed on the user's desktop.
2
1203
posted 12 years ago by _reydin_
This script will parse the auth.log and return results depending on the argument entered. To run the script enter one of the following.
./auth success or ./auth fail
1
1199
posted 12 years ago by _reydin_
This script will do a daily backup of directories. If the files has not changed then it creates a hard-link to the file. If the file has changed then it will copy the new file. The backup is not much larger than the directories being backed up.
1
997
posted 12 years ago by _reydin_
This will check the date and if it is not a valid date then it will increment the month and reset the day back to one.
1
860
posted 12 years ago by _reydin_
This will generate a random alpha numeric string 20 characters long.
1
1060
posted 12 years ago by _reydin_