I want to select files which have different extensions such as .cpp, .cs, .h
I can select one of them as
find . -name "*.cpp"
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. (1 Reply)
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)
Here is a simplified example of my problem. Say I have the following 3 sub-directories;
./folder1
A.txt
A.sh
./folder2
B.txt
./folder3
C.txt
C.sh
I would like to list the directory names which contain both '.txt' & '.sh' type extensions. I have came up with the following code;... (8 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 !
I wonder if anyone can help on this : I have a directory: /xyz that has the following files:
chsLog.107.20130603.gz
chsLog.115.20130603
chsLog.111.20130603.gz
chsLog.107.20130603
chsLog.115.20130603.gz
As you ca see there are two files that are the same but only with a minor... (10 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 CENTOS
extlinux
extlinux(1) General Commands Manual extlinux(1)NAME
extlinux - install the SYSLINUX bootloader on a ext2/ext3 filesystem
SYNOPSIS
extlinux [options] directory
DESCRIPTION
EXTLINUX is a new syslinux derivative, which boots from a Linux ext2/ext3 filesystem. It works the same way as SYSLINUX, with a few slight
modifications. It is intended to simplify first-time installation of Linux, and for creation of rescue and other special-purpose boot
disks.
The installer is designed to be run on a mounted directory. For example, if you have an ext2 or ext3 usb key mounted on /mnt, you can run
the following command:
extlinux --install /mnt
OPTIONS -H, --heads=#
Force the number of heads.
-i, --install
Install over the current bootsector.
-O, --clear-once
Clear the boot-once command.
-o, --once=command
Execute a command once upon boot.
-M, --menu-save=label
Set the label to select as default on the next boot
-r, --raid
Fall back to the next device on boot failure.
--reset-adv
Reset auxiliary data.
-S, --sectors=#
Force the number of sectors per track.
-U, --update
Updates a previous EXTLINUX installation.
-z, --zip
Force zipdrive geometry (-H 64 -S 32).
FILES
The extlinux configuration file needs to be named extlinux.conf and needs to be stored in the extlinux installation directory. For more
information about the contents of extlinux.conf, see syslinux(1) manpage, section files.
BUGS
I would appreciate hearing of any problems you have with SYSLINUX. I would also like to hear from you if you have successfully used SYS-
LINUX, especially if you are using it for a distribution.
If you are reporting problems, please include all possible information about your system and your BIOS; the vast majority of all problems
reported turn out to be BIOS or hardware bugs, and I need as much information as possible in order to diagnose the problems.
There is a mailing list for discussion among SYSLINUX users and for announcements of new and test versions. To join, send a message to
majordomo@linux.kernel.org with the line:
SEE ALSO syslinux(1)SYSLINUX for ext2/ext3 filesystem 18 December 2007 extlinux(1)