10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I want to move several files foo.aux foo.log foo.pdf foo.tex to bar_foo.aux bar_foo.pdf bar_foo.tex
I am on tcsh
% mv foo.* bar_!#:1
is not working.
Thank you for your help
marek (11 Replies)
Discussion started by: marek
2. Shell Programming and Scripting
i have two folders. Folder A has 1000+ files with just images named like :
etc. Folder B has much more files, part of them with same name as png files folder others not. Instead of folder A wich are only images, these are audio wav files.
I need to... (11 Replies)
Discussion started by: Board27
3. Shell Programming and Scripting
I wonder if anyone can help on this : I have a directory: /xyz that has the following files:
As you ca see there are two files that are the same but only with a minor... (10 Replies)
Discussion started by: fretagi
4. Emergency UNIX and Linux Support
I have one .txt file which has filenames with various extensions e.g. .gz,.dat,.CTL,.xml. I want to sort all the filenames as per their extensions and would like to delete all the file names with .xml extension.
PS : I am using Sun OS Generic_122300-60.
... (9 Replies)
Discussion started by: ajaypatil_am
5. Shell Programming and Scripting
Hi all, I am trying to make a for loop invoking files with different extensions (*.ugrd and *.vgrd) and I cant just make it work. Cant figure out how to load the files so as to use them in subsequent commands like the ones in this pseudo code. the files are arranged such that in one date for... (8 Replies)
Discussion started by: ida1215
6. Shell Programming and Scripting
I have a bunch of files on my Linux system which do not have a file name extension in them. I want to process them with "sed" (using loop) but can't do so. Is there any way to give an extension to files which have no extension in them in Linux?
Currently files are like this:
dog... (1 Reply)
Discussion started by: shoaibjameel123
7. Shell Programming and Scripting
i have a few files like ...
and i would like to rename those files to ...
setup.r95 (7 Replies)
Discussion started by: Putazo
8. UNIX for Dummies Questions & Answers
I copied some files to another folder, and I want to change them from .doc extensions to .txt extensions. I tried using the cp and mv commands, but it didn't work. Is it possible to change file extensions with these commands, and if so how do I do it? I tried using the * wildcard (say cp *.doc... (1 Reply)
Discussion started by: Straitsfan
9. Shell Programming and Scripting
From one directory I need to fetch only files of type *.xls,*.csv,*.txt. I tried the find . -name '*.txt,*.csv,*.xls' -print. But it throws me error. Please do help me on this.
Mahalakshmi.A (11 Replies)
Discussion started by: mahalakshmi
10. UNIX for Dummies Questions & Answers
I have a unix directory with 500 plus files . When I do a ls -lR I can see ALL the files here . How can I sort this by the files extensions ?
I can't enter ls -lR *.ext1 *.ext2 *.ext3 etc in case I miss out some files . (2 Replies)
Discussion started by: newbienix