Summary: Your original "find . -type f filename -print " is an erroneous find command. If you want to: find all files named "automate.st" (assume 1 per direc...
Summary: How do you find files, then copy the files into an existing directory. I am to find files starting with N which is not more than 10 days old, then cop...
Summary: hi there, how to find files more than 90 days and copy it to another directory using HPUX/unix command? is the command same for unix or hpux ? ...
Summary: > find . -name 'text' | exec {} vnmr.awk "-exec" is part of "find", not a separate command, and "{}" stands for the current file name returned by find...
Summary: What shellscript would I use If I wanted to list all files in the current directory which are identical to a certain filename. I am told to use binar...
Summary: dear all, how to find files in the specific date. I usually use this syntax : find -ctime +n / -n ( day) if I used this file, I still have to count t...
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: Find files that exceed 1000000 characters (this will list the fullpath filename): find /home/users -type f -size +1000000c Or you can tell the find co...
Summary: For every 15 min, I would just put it in cron (no sleep loop). Â Before putting in cron, do your testing by running it manually (a single execution ea...
Summary: Except that sreesri is probably using one of the versions of 'find' that doesn't have '-mmin'. In fact looking at the online man pages to determine th...
Summary: Each time your cron job runs, it can update the date stamp on a control file which allows it to remember when it ran last. The controlfile and the ou...
Summary: Kevin, dirname will strip the last component from fileref, and it does not care if that is a file or directory, existant or not. Since $0 represents ...
Summary: The solution above would find files system-wide that have been created or modified in the last 24 hours. If you want to target a specific directory, t...
Summary: "I checked my man pages but could not locate anything specific on the persistant behaviour." From the manpage for ksh: * . file [ arg ... ] ...
Summary: Hi, I have to move files older than 4 hours from a directory to another. How to find these file ? The find command with -mtime can't be applied becaus...
Summary: Hi, I want to find files excluding certain file extension in perl script i am using the below `find . -type f ! \( -name "*.gz" -o -name "*.tar" -o -...
Summary: Probably the best solution is to create a file with the unix touch command, and then use the find command's -newer option. The following link describ...
Summary: Hi, If you didn't have a valid backup do the following: Shutdown your system, startup in singel user mode. go to the directory where your file was. ex...
Summary: M, I do not know how to use sed to solve this, but I have another idea. If the "input_file" contains dirty1 dirty2 dirty dirty3 line1 And if you want ...
Summary: The script is not dependent on the content of /tmp/timestamp. The touch command will either create an empty file or update the timestamp of a file bas...
Summary: HI, I have a couple question about C-Shell command. 1.) How to create a variable named d140 (non-environment) whose value is the path to your FILE1 s...