Sponsored Content
Top Forums Shell Programming and Scripting [Perl] Module for recursive listing of remote Windows shares Post 302976922 by stomp on Friday 8th of July 2016 05:09:11 AM
Old 07-08-2016
Hi,

what about mounting the Windows share and searching with File::Find?

Regards,
stomp
 

10 More Discussions You Might Find Interesting

1. IP Networking

Mounting shares from a Windows PC

Hi... I can ping my Windows PC using both the IP address and NetBios name and I can ping my Linux box the same, IP address and NetBios name. I can even use smbclient to see the shares on my Windows PC. But I can't map the shares so that Linux sees it as a drive. How do I do that? (5 Replies)
Discussion started by: SeCBerm
5 Replies

2. UNIX for Dummies Questions & Answers

Recursive directory listing without listing files

Does any one know how to get a recursive directory listing in long format (showing owner, group, permission etc) without listing the files contained in the directories. The following command also shows the files but I only want to see the directories. ls -lrtR * (4 Replies)
Discussion started by: psingh
4 Replies

3. AIX

listing files on remote server

I am writing a script where in i have to log into a remote machine and check for necessary file by typing (ls -ltr *200505) (this gets all 05month of 2008 yr files) and if files are found get them to the local machine. If not found print a message saying no files on local machine. When i was... (3 Replies)
Discussion started by: vasuarjula
3 Replies

4. UNIX for Dummies Questions & Answers

recursive directory listing with ownership

i'm playing around with "ls" and "find" and am trying to get a print out of directories, with full path, (recursive) and their ownership.... without files or package contents (Mac .pkg or .mpkg files). I'd like it simply displayed without much/any extraneous info. everything i've tried, and... (5 Replies)
Discussion started by: alternapop
5 Replies

5. UNIX for Dummies Questions & Answers

Errors when connecting to SMB shares from Windows

Hi all I have a server running Oracle Linux. When i try \\linux-server\share I get prompted for username & password or I get a permission denied error. I see these errors in the messages file on the Linux server: smbd: auth/auth_util.c:create_builtin_administrators(792) Feb 15 10:39:13... (0 Replies)
Discussion started by: wbdevilliers
0 Replies

6. UNIX for Dummies Questions & Answers

Need help configuring Active Perl on Windows Vista.: Perl Scripting on Windows

Hi All, Need help configuring Active Perl on Windows Vista. I am trying to install Active Perl on Windows Vista. The version of Active Perl i am trying to install is : ActivePerl 5.10.1 Build 1006 After installing it through cmd, When i try to run perl -v to check the version, i get the... (2 Replies)
Discussion started by: Vabiosis
2 Replies

7. Shell Programming and Scripting

Recursive Replication of Unix folders to Windows

Requirements: ftp files recursively from unix to windows. Replicate directory paths on unix (source) to windows (destination) and place files in their respective folders. There are no set number of files per directory nor fix number of dirA or dirB etc.... Source OS: Solaris... (5 Replies)
Discussion started by: mlv_99
5 Replies

8. Shell Programming and Scripting

Unable to Install "Devel-Profile" perl module in windows.

Hi, I want to install 'Devel-Profile' in windows but i am not able to install. Here is the error. PPM> install Devel-Profile Install package 'Devel-Profile?' (y/N): y Installing package 'Devel-Profile'... Error installing package 'Devel-Profile': Could not locate a PPD file for... (3 Replies)
Discussion started by: vanitham
3 Replies

9. Shell Programming and Scripting

Using Perl to explore recursively remote windows path from AIX

Hi all, I am using Perl 5.8.8 on an Aix 6.1.0.0 to script a program which will retrieve files recursively on a remote Windows 2003 server and copy some of them on my Aix server. MobaSSH is installed on that windows server. When I used scp on the command line, it works fine, but not in a... (2 Replies)
Discussion started by: Fundix
2 Replies

10. AIX

Samba 3.6 on AIX 7.1 - Windows 10 Access to AIX file shares using Active Directory authentication

I am running AIX 7.1 and currently we have samba 3.6.25 installed on the server. As it stands some AIX folders are shared that can be accessed by certain Windows users. The problem is that since Windows 10 the guest feature no longer works so users have to manually type in their Windows login/pwd... (14 Replies)
Discussion started by: linuxsnake
14 Replies
Filesys::DiskSpace(3pm) 				User Contributed Perl Documentation				   Filesys::DiskSpace(3pm)

NAME
Filesys::DiskSpace - Perl df SYNOPSIS
use Filesys::DiskSpace; ($fs_type, $fs_desc, $used, $avail, $fused, $favail) = df $dir; DESCRIPTION
This routine displays information on a file system such as its type, the amount of disk space occupied, the total disk space and the number of inodes. It tries "syscall(SYS_statfs)" and "syscall(SYS_statvfs)" in several ways. If all fails, it "croak"s. OPTIONS
$fs_type [number] type of the filesystem. $fs_desc [string] description of this fs. $used [number] size used (in Kb). $avail [number] size available (in Kb). $ffree [number] free inodes. $fused [number] inodes used. Installation See the INSTALL file. COPYRIGHT
Copyright (c) 1996-1999 Fabien Tassin. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. AUTHOR
Fabien Tassin <fta+cpan@sofaraway.org> NOTES
This module was formerly called File::Df. It has been renamed into Filesys::DiskSpace. It could have be Filesys::Df but unfortunatly another module created in the meantime uses this name. Tested with Perl 5.003 under these systems : - Solaris 2.[4/5] - SunOS 4.1.[2/3/4] - HP-UX 9.05, 10.[1/20] (see below) - OSF1 3.2, 4.0 - Linux 2.0.*, 2.2.* Note for HP-UX users : if you obtain this message : "Undefined subroutine &main::SYS_statfs called at Filesys/DiskSpace.pm line XXX" and if you are using a hp9000s700, then edit the syscall.ph file (in the Perl lib tree) and copy the line containing "SYS_statfs {196;}" outside the "if (defined &__hp9000s800)" block (around line 356). perl v5.14.2 2012-04-12 Filesys::DiskSpace(3pm)
All times are GMT -4. The time now is 11:16 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy