Summary: You can't have two files with the same name. The OS won't allow that. Apparently there are hidden characters in one of the file names. That also hap...
Summary: Depending on the naming convention you could use a simple find command. Are all of the file names(file1, file2, etc) the same? Do all of the extensio...
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: T.T. I'm assuming you want to copy files with a creation date of May 13. The 6th and 7th fields of the 'ls -l' command are the month and day: #!/bin/...
Summary: Greeting. I need to concatenate all the files with similar File names. For Example, I have 5 files, 1_100 2_100 3_200 4_200 5_300 Now I need to have 3...
Summary: In a ksh script I get a file with a path from another program. I need to create the file and it's directories. I know mkdir -p can make the dirs but h...
Summary: Hi, I am trying to write a unix shell script that will scan a directory - find a file with the lowest sequence number and kick of a process with that ...
Summary: There's any number of ways of doing this; I'm assuming that the filename contains only alpha and numeric characters inaddition to special chars + and ...
Summary: hi, i am having set of files with the naming convention grap_Life_$cc$yy$mm$dd.txt. The above file was created by a script on this month.. i would li...
Summary: Hi, I am new to Unix shell scripting, starting to learn it. Can you please help me with this immediate requirement to code.. The requirement is as giv...
Summary: #!/bin/csh echo "total arguments $#argv" # check the command line arguments. If they are less than 3 then # show the usage message and exit if ( ${#ar...
Summary: I have a file with same length lines (300 chars each) and need to check one digit (if !=0) and process it(to append to a seperate file). I used cut co...
Summary: Perl Guru…. I need to compare two diff file (file1.abc will locate in current server and file2.abc will locate in remote server), basically the scri...
Summary: Hi Gopal, I am not sure how u r using find to trace files with spaces.Can u give the code-snippet for the same? Anyway here is what u desire:- #<ur...
Summary: Hi: There's always more than one way of doing something. Solaris has a cksum command which returns a 32-bit CRC of a file. You can almost guarantee ...
Summary: If nothing has changed in the directory since your mistake, you might be able to recover them with fsdb. That is an iffy proposition and I'd say the ...
Summary: Had a little posting error with the spaces - will try again ... The green lines will display all values accumulated for the value being checked for: ...
Summary: 1. How do I remove files that are 30 days and older to an archive directory, by editing the following command? find /full/path/directory -type f ! -m...
Summary: I'm trying to copy several files generated by a fortran program to their correct directories within a script. The problem is that I want to rename tho...
Summary: Hi! I just wonder if anyone can help me. I'm trying to write a shell script, but don't know where to begin exactly. I need to write a script that wil...
Summary: Hi, I need to compare two files using shell script. (file1: inbound/data/lockbox & file2:inbound/data/lockbox/archive) If they are same it should em...
Summary: Hello, I need some help to make this perfect script in C-SHELL I want to create once a week a listing for a directory with a date and save your time ...