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: I have a ftp site, where I am using the following CRON scheduled script to delete all files in sub-directories that are older than 14 days. It works f...
Summary: hie there, i would like to know how do i compare files in a current directory? i don't want to compare just 2 files with the diff filename1 fil...
Summary: i have a directory "ABC" with lots of old files and sub directories in it. the issue now is i want to delete away files which are older than 15 days i...
Summary: Arne: If you don't have maxdepth, try this: # find all on one line find . -type f|awk ' gsub("^./","") '|egrep -v "/" provided you execute find in the...
Summary: How can I delete a file with the name -C in unix? I tried below and get the error. > rm "-C" rm: illegal option -- C Usage: rm [-Rfir] file ... ...
Summary: Platform: SunOS 5.6 I want to find all files in /foo (and recurse through all subdirectories) that contain ".pl". Anyone know how to do this? I have b...
Summary: I have a common shell script file need to be accessed from several files in other directories. Time is urgent, although I know there are two ways for...
Summary: Guys, I have written the script to achieve the goal, i dont see any error in the script but dont know why script does not execute properly... #!/usr/b...
Summary: can somebody solve the following problems: How to delete all files in a directory without delete the directory itself? How to copy all files in a dire...
Summary: Is there any way using the korn shell to delete all records in a file except one?? In other words if I had 6 lines in a file, could I issue one comma...
Summary: @echo off ------------------------- :: Description: Deletes files older than a specified number of days :: ++ attributes not set :: :: Author...
Summary: I have a file in Word named Con.Proc.Sup.doc. I can open it and all is fine. I can make changes and save it and I can save it as another name and I ...
Summary: Situation: I have a directory called ABC which contains multiple CSV files. In each CSV files there are multiple records for e.g. a coat hanger, a pla...
Summary: Hi Koala, Thank you for your suggestion! I greatly appreciate your prompt response. What i'm trying to perform here is actually deleting files in anot...
Summary: Hi, I am new to korn shell pgming..I need a script to do the following.. Delete all back up directories older than 30 days old directory structure is ...
Summary: I have a config file as below. This file is delimited by ; First field is the starting directory for find command. Second field is -mtime value for th...
Summary: Thanks to all in advance I was wondering if anyone had a script that could be ran every few hours that would LIMIT the size of a directory. Here is th...
Summary: How do I rename all the files in a particular directory with the file extension .UNC for uncompressed. They are compressed and have a .Z extension bu...
Summary: my question is Find all files in my home directory newer than 10 days and with names starting with N and copy these files into a directory called back...
Summary: Hi Tony, I'm always twitchy just running commands or scripts without building them up and testing them gradually, and without a final sanity check of ...
Summary: Hi, I would like to delete the files in the list below. The file list is over 5000 lines long. It looks something like this: test.12001 test.12002 tes...