09-03-2009
Thanks KevinADC,
Could you solve the second script issue..
$value = "F:/*\.*"; # Searching under F drive
@files = <"$value">; # but if I hardcord as @files = <F:/*.*>; it works well.
foreach my $file (@files) {
print "Here is the content of the drive $file ";
}
Result :Here nothg got displayed. I am running under WINDOWS operating System.
Please help..
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Oracle procedure create files on UNIX folder on a regular basis. I need to FTP files onto windows server and place the files, based on their name, in the corresponding folders. File name is as follows: ccyymmddfoldernamefile.txt; Folder Name length could be of any size; however, the prefix and... (3 Replies)
Discussion started by: MeganP
3 Replies
2. Shell Programming and Scripting
i will tell my problem with example:
if i have a folder name called sree1.7.3
i know the starting name say sree and also path say /usr/lib.
so i want the folder name.
and how can i link this folder in makefile
thank u
sree (2 Replies)
Discussion started by: phani_sree
2 Replies
3. Shell Programming and Scripting
Hi,
I have a requirement to move a file from one folder(a) to another folder(b) only when folder (b) have a write permission. Folder permission is 755
If the permission is otherthan 755 we need to come out of the loop
I will appreciate your help
Thanks
Soll (1 Reply)
Discussion started by: sollins
1 Replies
4. Shell Programming and Scripting
This is the file structure:
DESKTOP/Root of Photo Folders/Folder1qweqwasdfsd/*jpg
DESKTOP/Root of Photo Folders/Folder2asdasdasd/*jpg
DESKTOP/Root of Photo Folders/Folder3asdadfhgasdf/*jpg
DESKTOP/Root of Photo Folders/Folder4qwetwdfsdfg/*jpg
DESKTOP/Root of Photo... (4 Replies)
Discussion started by: guptaxpn
4 Replies
5. Shell Programming and Scripting
Hi all,
let me explain my requirments
i am having 5 folder with different name for eg) abc , cdf , efd, rtg, ead
each 5 folders contain 15 files
i want to move 10 files to some other folder, remain 5 files should be there in the same folder.
give me some suggestion on this. (6 Replies)
Discussion started by: natraj005
6 Replies
6. UNIX for Dummies Questions & Answers
Hi All,
Could you please help to resolve my following issues:
Problem Description:
Suppose my user name is "MI90".
i.e. $USER = MI90
when i run below command, i get all the processes running on the system containing name MQ.
ps -ef | grep MQ
But sometimes it lists... (8 Replies)
Discussion started by: KDMishra
8 Replies
7. Shell Programming and Scripting
Greetings everyone.
I have seen that you do wonders here.
I have a large folder on a Ubuntu linux.
Organization main folder, inside 20 000 subfolders, and inside those subolders many other like 5-6 folders and files.
I am interested to create an output to a txt file under the bash... (2 Replies)
Discussion started by: ultimo
2 Replies
8. Programming
Hi
I'm trying to look through a series of directories in A folder, lets just call it A:
for example:
A/1
A/2
A/3
Etc and I wish to move the files in the folder if they are bigger than a certain size into a structure like below:
A/TooBig/1
A/TooSmall/1
A/TooBig/2
A/TooSmall/2... (1 Reply)
Discussion started by: PerlNewbRP
1 Replies
9. Shell Programming and Scripting
Hi,
I'm looking for a Perl module which can recursively list remote Windows shares from within a Linux machine.
I've tried Filesys::SmbClient ans Filesys:SmbClientPars but they just list the current directory
Thank You for your help (4 Replies)
Discussion started by: Fundix
4 Replies
10. Shell Programming and Scripting
Is there anything i can do about this code? I need to sort it by folder creation, the newest will be first ... thx :)
for dirname in postme:
dirname = os.path.abspath(dirname)
if dirname:
... (2 Replies)
Discussion started by: ZerO13
2 Replies
TS(4) Kernel Interfaces Manual TS(4)
NAME
ts - TS-11 magtape interface
SYNOPSIS
/sys/conf/SYSTEM:
NTS ts_drives # TS11
/etc/dtab:
#Name Unit# Addr Vector Br Handler(s) # Comments
ts ? 172520 224 5 tsintr # ts11 driver
major device number(s):
raw: 8
block: 2
minor device encoding:
bits 0003 specify TS drive
bit 0004 specifies no-rewind operation
bit 0010 ignored
DESCRIPTION
The ts-11 combination provides a standard tape drive interface as described in mtio(4). The ts-11 operates only at 1600 bpi, and only one
transport is possible per controller.
FILES
/dev/MAKEDEV script to create special files
/dev/MAKEDEV.local script to localize special files
SEE ALSO
mt(1), tar(1), tp(1), mtio(4), ht(4), tm(4), dtab(5), autoconfig(8)
DIAGNOSTICS
ts%d: no write ring. An attempt was made to write on the tape drive when no write ring was present; this message is written on the termi-
nal of the user who tried to access the tape.
ts%d: not online. An attempt was made to access the tape while it was offline; this message is written on the terminal of the user who
tried to access the tape.
ts%d: hard error bn%d xs0=%b xs1=%b xs2=%b xs3=%b. A hard error occurred on the tape at block bn; status registers 0-3 are printed in
octal and symbolically decoded as bits.
ts%d: addr mod 4 != 0. The address of a TS-11 command packet was not on an even longword boundary.
BUGS
If any non-data error is encountered on non-raw tape, it refuses to do anything more until closed.
The device lives at the same address as a tm-11 tm(4).
3rd Berkeley Distribution January 28, 1988 TS(4)