Computing.Net > Forums > Unix > Search Results

Quick Links

Computing.Net Solution Center
Desktop Access to Search
Ask a New Question

Sponsored Results for: Bash: rename files with 2 spaces

Ads by Google


Show Within: One Month | One Year | Forever
Search Results for: Bash: rename files with 2 spaces

Product Search Results


Results 1 - 25 of 6566

[higher confidence] - higher confidence, [lower confidence] - lower confidence

Bash: rename files with 2 spaces
    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...

Renaming files with awk
    Summary: Looking for some help in renaming files using a shell script. Suppose I have a directory which contains several files, some of which are *.dat files. ...

How to remove spaces in filenames
    Summary: Should work with sh/ksh/bash: filename="file with many spaces" touch "$filename" mv "$filename" `echo "$filename"|sed 's/[ ]*//g'` Let me ...

Rename files older than 2 days
    Summary: I am new to shell scripting. The requirement is as follows: At the beginning of the script, check file creation date. If it's more than 2 days old, re...

Read tow files with AWK
    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: ...

read command with trailing spaces
    Summary: In Bourne shell, is it possible to get the read command to include trailing spaces when reading from files? For the script below, the source files HEA...

grep variable with blank space
    Summary: Hi, I trying to write a little script to grep for two continuos fields separated with a blank space. "month day" I have tried this: date | nawk '{prin...

help with counting spaces
    Summary: Hi i need command that will count in file how many spaces this file have maybe someone know how to write it with grep thx ...

Script to rename files
    Summary: Hello, I have a over 1000 files on a linxu box and I need to rename them. Can you write me a simple script which do the job. Here is my files format...

Files with equal names
    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...

how to fetch the fileds from 2 text files?
    Summary: There are probably any number of ways to do this. One way is two create a temp file with the required 2 columns then use the paste command to glue th...

rm files with same prefix, diff suf
    Summary: What's wrong with: *.<suffix> For example, if you have files with the name: junk.txt junk1.txt junk.doc junk1.doc You'd type r...

Utility or script for renaming files on
    Summary: Greetings! Does anyone know of a utility or a script for renaming files on a UNIX web server? I've seen several of these types of renaming utilities ...

copy files with pattern from a file
    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/...

Concatenate Files with similar name
    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...

Script in ksh
    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...

Renaming Files Globally
    Summary: How can i rename files glabally Examle: *.foo to *.bar a.foo to a.bar b.foo to b.bar etc. at once ...

Create a file with a path?
    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...

Find File with lowest sequence numb
    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 ...

multiple renaming files & extension
    Summary: How may I rename files *.txt to *.dat? (*=all). Example: If i have 3 files named a.txt, b.txt, c.txt how can I rename them as a.dat, b.dat & c....

print files with certent dates
    Summary: how can I print a file with a date timestamp to a file. ...

Deleting a File with No Extension
    Summary: Thanks, fellas. Just a couple of problems with these though. The first solution lists files with *.extension. The last two list directories along w...

findig files with date extensions
    Summary: What I am trying to do is to move the old files in our system to a new archive forlder, these old files are ended with a date extension, which is in v...

Rename file extension in script
    Summary: Hi, I would like to rename files in a directory. for eg: ls -ltr *.bup.* would give a result of: ma.bup.Wednesday hw.bup.Wednesday etc I need to tri...

convert column to associative array
    Summary: hi Can any of the awk gurus around show me how to read 2 columns from a file and load them into an associative array. I have to do this from a ksh scr...

Jump To: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | >>

Sponsored Results for: Bash: rename files with 2 spaces

Ads by Google