02-24-2009
show a list of files whose names begin
How do I show a list of files whose names begin with c and are two characters long.
ls [^c] {2\}
? thanks
Last edited by vgersh99; 02-24-2009 at 06:51 PM..
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi all,
I am using the following code in order to access the data of a table:
my $sql = qq{ SELECT * FROM cc_test_cases};
$sth = $dbh->prepare( $sql );
$sth->execute( );
while(@row1 = $sth->fetchrow_array()) {
# print "$row1: $row1\n";
print "@row1\n";
#print("THE VALUE... (1 Reply)
Discussion started by: chriss_58
1 Replies
2. Shell Programming and Scripting
dear all.
how can i copy a list of files with different names into others directory have the same name
like i have 3 files
10_10
10_10_11
10_10_11_12
and i have 3 directories
10_10
10_10_11
10_10_11_12
how can i make a loop to cp this files into the directory have the same name like... (0 Replies)
Discussion started by: t17
0 Replies
3. UNIX for Dummies Questions & Answers
dear all.
how can i copy a list of files with different names into others directory have the same name
like i have 3 files
10_10
10_10_11
10_10_11_12
and i have 3 directories
10_10
10_10_11
10_10_11_12
how can i make a loop to cp this files into the directory have the same name like... (31 Replies)
Discussion started by: t17
31 Replies
4. Shell Programming and Scripting
....... (2 Replies)
Discussion started by: pcbuilder
2 Replies
5. Shell Programming and Scripting
Hello,
I've downloaded a huge amont of files
I've got a list of files from a remote server.
-rw-r--r-- 1 str661 strem 453465260 Dec 16 15:54 SATRYS2V1_20021218_temp_bias.nc
-rw-r--r-- 1 str661 strem 17669468 Dec 16 18:01 SATRYS2V1_20021225_hdyn_bias.nc
-rw-r--r-- 1... (9 Replies)
Discussion started by: Aswex
9 Replies
6. Shell Programming and Scripting
Hi to all here ,
Excuse me for the lamer question but I need UNIX command for copying List of Files Under Different File Names !
for example I have this list:
new_001.jpg
new_002.jpg
new_003.jpg
.....
I want to copy all files that start with "new_" to the same directory but under... (7 Replies)
Discussion started by: boboweb_
7 Replies
7. UNIX for Dummies Questions & Answers
Hi, I'm currently trying to print the names of all the .txt files in the subdirectories that contain the string I'm searching.
I tried with this code, but it seems that it searches for the names that matches the string instead of searching for the string in the individual files and printing the... (2 Replies)
Discussion started by: nuclearpenguin
2 Replies
8. Shell Programming and Scripting
Hi, I have a control file which will contain all filenames(300) files. Loop through all the file names in the control files and check the existence of this file in another directory(same server). I need to infinitely(2 hrs) run this while loop until all the files are found. Once a file is found,... (5 Replies)
Discussion started by: laknar
5 Replies
9. Shell Programming and Scripting
I'm interested in writing a report script using BASH that searches all of the files in a particular directory for a keyword and printing a list of files containing this string...
In fact this reporting script would have searches for multiple keywords, so I'm interested in making multiple... (2 Replies)
Discussion started by: chemscripter904
2 Replies
10. Shell Programming and Scripting
Hi ,
I'm trying to list the files and output is written to a file. But when I execute the command , the output file is being listed. How to exclude it ?
/tmp
file1.txt
file2.txt
ls -ltr |grep -v '-' | awk print {$9, $5} > output.txt
cat output.txt
file1.txt
file2.txt
output.txt (8 Replies)
Discussion started by: etldeveloper
8 Replies
LEARN ABOUT DEBIAN
scolasync
SCOLASYNC(1) scolasync User Manual SCOLASYNC(1)
NAME
scolasync - a file manager dedicated to dealing with a collection of removable media, like music mobile players. It makes easier to copy
files to a set of removable media, and to copy files from them.
SYNOPSIS
scolasync [{-c | --check}]
DESCRIPTION
scolasync allows you to send a series of files towards a set of removable media. Every individual removable storage device is identified,
for example to its owner. Then, later, you can retreive modified files from the same collection of removable media and track the
modifications attributable to each owner.
A possible usage is with students learning a foreign language: they are given homework on their USB sticks, and they bring them back with
modified contents to get scores.
OPTIONS
-c , --check
Enables checkboxes to select a subset of the usb storage media currently plugged to your computer, even if the checkboxes are not
wanted in the preferences of the application.
FILES
${HOME}/.scolasync/db
A database containing the preferences of the application, and the mapping between owners and USB storage media.
/usr/share/scolasync/marques.py
A dictionary of pecularities which come with some brands of USB storage media.
${HOME}/.scolasync/marques.py
This dictionary overrides the settings in the system-wide configuration.
${HOME}/.scolasync/scolasync.log
A log file for the application.
AUTHOR
Georges Khaznadar <georgesk@ofset.org>
Wrote this manpage for the Debian system.
COPYRIGHT
Copyright (C) 2010 Georges Khaznadar
This manual page was written for the Debian system (and may be used by others).
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 2 or (at
your option) any later version published by the Free Software Foundation.
On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL.
scolasync 06/23/2012 SCOLASYNC(1)