9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have got application log files collecting up fast inside of a directory.
The logs contains many logs that look like this (were talking 1000s+):
the Log_NAME followed by Date and application specific nonsense.
application_log_2014-07-13_20-30-09 ... (4 Replies)
Discussion started by: Samuel12
I want to remove my backup files keeping last 30 days.
Now i am doing it manually.
Does anyone have a script to automate this process?
Thanks in advance (5 Replies)
Discussion started by: ElizabethPJ
3. UNIX for Dummies Questions & Answers
one of the server, log directory was never cleaned up. We have so many files. I want to remove all the files that starts with dfr* but I get error message when I use the *.
bash: /usr/bin/rm: Arg list too long
I am trying to write this script but not working.
... (4 Replies)
Discussion started by: samnyc
4. Shell Programming and Scripting
I use "MineOS" (a linux distro with python scripts and web ui included for managing a Minecraft Server). The author of the scripts is currently having a problem with the Minecraft server log file being spammed with certain entries. He's working on clearing up the spam.
But in the meantime, I'm... (8 Replies)
Discussion started by: nbsparks
5. Shell Programming and Scripting
Hi Guys i'm looking for some help with creating a scripts:
Background - I run alot of testing which creates huge files. This fills up the diskspace over 3 weeks so needs constant deleting. but generally, I keep forgetting!!! so every 3 weeks it fails lol.
Basically i can't format the drive... (2 Replies)
Discussion started by: defamer
6. Shell Programming and Scripting
I am working in directory week5 and I want to delete the files in directory week1, without leaving directory week5. I understand that rm is used to delete a file, but how do you remove them while working in a different directory. I also only want to delete a certain set of files *. (1 Reply)
Discussion started by: smiley76112
7. Shell Programming and Scripting
I need help in the script which looks at a contorl file which has a list of file names like xxxx.12345 and I want to take only xxxxx and search in a specific directory and remove the file if its older than 60 days
I have written something like this.. but seems to be wrong... (1 Reply)
Discussion started by: antointoronto
8. Shell Programming and Scripting
I have a script that works on a unix box but am trying to get it working on a linux box that uses shell. I am not a programmer so this is proving harder than I imagined. I made some changes and ended up with the script below but when I run it I get the following messages. Any help would be... (4 Replies)
Discussion started by: yabai
I HAVE LOG FILES IN THIS FORMAT
I NEED TO FIND THE FILES FROM 3 MONTHS OLD AND REMOVE
THANKS, (13 Replies)
Discussion started by: cvdev