10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Here's a requirement for me.
Here are the list of files i have in a unix directory.
W 2 A D_2014.csv
W 3 A D_2014.csv
W 4 A D_2014.csv
/home/kmani00-> uname -a
AIX sliyyvxx 1 6 00F613E54C00
The file names has to be without spaces as follows.
W2AD_2014.csv... (1 Reply)
Discussion started by: kmanivan82
2. Shell Programming and Scripting
I have a list of filenames in the format with Spaces in the filename.
As an example :
Sample File 1.txt
Sample File 2.txt
Sample File 3.txt.....I have about 100 files like this.
I am trying to create a block of code or use an available command to a) Create a file b) Put in some... (2 Replies)
Discussion started by: ban3rj33
I am copying a tar from windows7 to Solaris with filezilla i could see, some characters in the name of the file get deleted.
I could see only substring of the filename
eg: original filename :abcdefghijklmnopqrstu.h
i can see like abcdefghijklm
solution to this problem is highly... (2 Replies)
Discussion started by: Revathi R
4. Shell Programming and Scripting
I have files with filenames as below.
SGM Daily Sales Email-en-us-05312012.xlwa
I want to rename it in .xls. I am writing a script to change this, as there can be multiple files in subfolders.
I have the following script.
for oldfile in $(find... (1 Reply)
Discussion started by: mac4rfree
5. UNIX for Dummies Questions & Answers
I've been tangoing with this one for a couple of days now and I'm still not making any progress.
Basically I'm trying to match three numbers in a string from a text file with matching numbers in a jpeg, and then copying the results to another folder.
Data looks like this:
Model:... (4 Replies)
Discussion started by: faceonline
6. Shell Programming and Scripting
I've a problem. Here is the code:
echo "enter a file name"
echo "file exists"
cp $a $a_bkp
echo "file doesn't exist"
when executed the o/p is:
enter a file name
cp: missing destination file (4 Replies)
Discussion started by: sam_bd
7. Shell Programming and Scripting
Hello I canīt find an answer to my problem.
I am trying to tar some files with spaces
/var/installer/GUI user Plugin
tar -czvf /tmp/files.tar.gz... (14 Replies)
Discussion started by: Lusen
8. Shell Programming and Scripting
I have a Folder (myfile) which contain the following files:
Is there a sed command(s) that will loop through this folder
and remove the spaces that exists in the filename?
Any help would be... (7 Replies)
Discussion started by: Fishn
9. Shell Programming and Scripting
I have a text file containing files in a directory structure i.e.
/project/hr/raw/jcpdatav/jcpjoiners200507... (3 Replies)
Discussion started by: mr_crosby
10. Shell Programming and Scripting
When I run following script
mv `ls -trF | grep -v / | tail -10 ` ~/directory2
works fine with filenames not having any space but runs into issues with filenames that have spaces tried with $file variable still doesnot work. Can someone help me (4 Replies)
Discussion started by: asakhare