I want to select files which have different extensions such as .cpp, .cs, .h
I can select one of them as
but I want to select all of them in one command only. It should be pretty simple but I'm not able to get it. Any help with the command will be greatly appreciated.
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)
Hi all,
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.
Thanks
Mahalakshmi.A (11 Replies)
I am trying to write a Korne Shell Script wherein we have to sort
files according to their extensions(for eg. 1.sh, 5.sh, 9.sh together;
4.csh, 120.csh, 6.csh together and 7.ksh, 2.ksh, 59.ksh together) and
move them to their respective directories viz. sh, csh and ksh...
I think,... (1 Reply)
Hello !
i have a few files like ...
setup.001
setup.002
setup.003
setup.004
// to
setup.095
and i would like to rename those files to ...
setup.r01
setup.r02
setup.r03
setup.r04
// to
setup.r95 (7 Replies)
I want to change the extensions of a folder full of files (some of the files are located in subfolders as well) to another extension, but instead of replacing the files I want the new files to be copied into a newly created folder.
Here is the folder structure:
/Downloads/3eb... (3 Replies)
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)
Linux RHEL 5.4
It is easy to create a tarball when you have files same extension
For eg:
You want to tar all files with the extension .log . This is easy
tar -cvf diagnose.tar *.log
I have two files with different extensions .log and .sh :
error.log
myscript.sh
I want to create a... (5 Replies)
Hi All,
<Re-posting in Correct group>
I'm trying to select all the files in a folder that starts with a particular name format and are created in a gven date range using 'ls' command...but i'm not successful....
Example : I'm trying to see all the text files in a folder who names start... (6 Replies)
Hi,
i have two folders. Folder A has 1000+ files with just images named like :
01012015.png
01022015.png
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)
Hello all!
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
11 Replies
LEARN ABOUT DEBIAN
progen
PROGEN(1) General Commands Manual PROGEN(1)NAME
progen - create project files for tmake(1)SYNOPSIS
progen [options] [C/C++ header/source files]
DESCRIPTION
This manual page documents briefly the progen command. This manual page was written for the Debian GNU/Linux distribution because the
original program does not have a manual page. Instead, it has documentation in HTML format; see below.
The progen(1) utility creates tmake(1) project files.
OPTIONS -h, --help
Show summary of options.
-lower Lower-case letters in filenames (useful on Windows).
-n name
Specify a project name (TARGET).
-o file
Write output to file instead of stdout.
-t file
Specify a template file.
EXAMPLE
The progen(1) utility can be used like this:
progen -n hello -o hello.pro
If no .cpp or .h files are specified on the command line, progen(1) searches for .cpp and .h (except moc_*.cpp) in the current directory
and below.
SEE ALSO
The full documentation for progen is maintained as an HTML manual, located in /usr/share/doc/tmake/html/, and is available through
dhelp(1), Debian's help system.
AUTHOR
This manual page was written by Dwayne C. Litzenberger <dlitz@dlitz.net>, for the Debian GNU/Linux system (but may be used by others).
January 12, 2000 PROGEN(1)