Summary: Please help... I need to delete files in all sub-directories that are more than 10 days old or delete all sub-directoires (entire directory) that's 10...
Summary: Look at your vendor-supplied find(1) program. Do this with the command line man 1 find and you should see how to ask the find(1) program to delete old...
Summary: Following script will create test.dat by starting off with a file called header, then awk will append its lines, then the script will append a file ca...
Summary: Rachel, If you could dump your list of filenames to a unix file, it would be a very simple script to process that file to do the renames. Provide a f...
Summary: Does anyone have a script that will allow me to take the contents of a directory and delete files based on their age? Here's the scenerio. I have a d...
Summary: Zoef, depends on which event should be monitored. You could monitor the deletion of a file/directory and/or the creation of a new file/directory ? and...
Summary: Sorry, I just checked in. Read carefully: I do not have a ample and sure solution to this, but: -install the skins and codecs separatelly. see /usr/po...
Summary: you could try this small C program: #include \ #include \ int main(int argc, char *argv[]) { FILE *ifp, *ofp; char ch; if (argc != 3) exit(1); ...
Summary: Please help me. I can't delete some files and folders from my hard disk. I've tried to delete them in safe mode but it doesn't works too. My OS is Win...
Summary: Still can't get this to work: This is what I am trying to do 1) The fist file I am looking for is in this directory: xnet-stc/int/exe_inbound/histo...
Summary: I'm interpreting that you want to find all the files with two spaces in the name and rename them to one? There's no need to escape the spaces, and you...
Summary: So, the ASCII files are created with DBL. From what I understand, DBL is a proprietory language similar to COBOL. I seriously doubt you're going to ...
Summary: WinZip will unzip Gunzip files. You can unzip it on a Windows machine if you are having problems and then copy it to the Linux machine on floppies if...
Summary: I sometimes use dates in file naming, but I prefer sequential numbering since that is unique, and I still have the date stamp of the file to show me w...
Summary: David, I have done exactly that between a Sco OpenServe box and a DGUX box. I went down the path of creating a list of the current files then transfe...
Summary: Regarding the alter tablespace begin/end backup ... You have to tell the Oracle rdbms that you are about to use an OS utility to make a backup copy of...
Summary: Here is a tree script that was sent to me a while back. I modified it to use Korn shell and took out all the `expr` stuff and typeset some integer va...
Summary: Hi, Can anyone tell me how to write a Unix ksh script to open a file (path provided) and assign a value to a variable in the file and then save the fi...
Summary: Hi All, Thanks in Advance. My requirement is there are some data files to be updated(some times new files get created) regularly in server A, these fi...
Summary: df = amount of disk space free du = disk usage Use these to determine where your problems lie. Then start deleting files. Or install a new hard drive...
Summary: I would just pull the desired lines into a new file: awk 'length==474' mydatafile > mynewfile After verifying, you can remove the old file and rename ...
Summary: You cannot delete records directly out of a regular unix file. You can delete lines from a file by outputting all the desired lines to a new file. T...
Summary: Thanks for the help... I'm teaching myself shell scripting, so I still had a little trouble with sed, but I'm sure its because of my lack of expeiri...
Summary: I am writing a script which will run every 15mins and need to delete files from a given directory which are over n number of mins old. Any Ideas?? ...