Sponsored Content
Full Discussion: Scripting for Inventory
Top Forums Shell Programming and Scripting Scripting for Inventory Post 302539416 by gaur.deepti on Sunday 17th of July 2011 09:56:22 AM
Old 07-17-2011
Scripting for Inventory

Hi,

I am getting all the scripts in my unix box through ls and pasting them in a xls for the Inventory Purpose.

Right now I am doing it manually I am going manually in each directory and doing a ls > temp.txt and pasting this out put in xls manually.

Is there any way to automate this ..if I run some script in my root directory it should get the folder path , folder name and the script in that folder.

As I said I am doing it manually I don't know how to get started on this..pls tell me some logic for doing this.

Regards,
Deepti
 

8 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Software Inventory

How can I find out what software is installed on the machine, other than ls? Is there a registry program like in Windows? The os is Sun 2.5. Thanks (1 Reply)
Discussion started by: ViperD
1 Replies

2. UNIX for Advanced & Expert Users

Collecting software inventory

how to obtain/ collect a list of all the applications installed in the system.. is there a configuration file(like the one which exists for hardware ) which holds all this information?? if no is there any command/shell script or utility that we can use for the same ?? I am using Red hat linux... (2 Replies)
Discussion started by: superghost
2 Replies

3. Shell Programming and Scripting

File Inventory Scan

Is there such a script out there that will Analyze a folder and subfolders, getting file type utilization and file aging. A CSV file will be created with file information File,Size,Date Created,Last Modified,Last Accessed,Extension,File Type,Owner A Summary report text file will also be created... (4 Replies)
Discussion started by: seacros
4 Replies

4. Shell Programming and Scripting

Help on editing inventory

Hi guys, im currently doing a library database program, and i need help for the following commands my library.txt is Google:Harry:45.00:50:100 This is my code echo "Please enter Title" read BookTitle echo "Please enter Author" read Author echo "Price" read Price ... (2 Replies)
Discussion started by: ichar
2 Replies

5. UNIX for Dummies Questions & Answers

Folders and Files Inventory

Hi , We are migrating our scripts from one unix server to another unix server in aix. Is there any way we can export the permissions, owner, group of the folders and files inside the folders. If I am copying xyz folder from old server, I need to generate a report with permissions ,owner and... (5 Replies)
Discussion started by: shruthidwh
5 Replies

6. Solaris

Inventory details - Solaris

i need to extract following information through command line on solaris machine : 1.manufacturer name (hardware as well as OS) 2.Model number 3.Serial number - Serial Number of the device or the Physical device serial number for Virtual Servers 4.whether the server is physical or virtual -... (3 Replies)
Discussion started by: omkar.jadhav
3 Replies

7. UNIX for Advanced & Expert Users

Server inventory software

Hi, do you know any good server inventory open source products? I want information like, server hostnames, ram, cpu, os, filesystems, volume groups, disks, adapters, installed software versions, firmware levels and so on os: aix, solaris, linux, hpux data should be kept in a database, web... (7 Replies)
Discussion started by: funksen
7 Replies

8. UNIX for Advanced & Expert Users

UNIX/Linux inventory - Open Source

Hello guys, I need an open source tool that can list all the softwares installed in my unix/linux servers, the tool should list all the softwares installed and the current version, grouped by the hostname, anybody know any solution for this specific problem? Thanks guys, have a good day! (7 Replies)
Discussion started by: denisloide
7 Replies
invsync(8)						      System Manager's Manual							invsync(8)

NAME
invsync - Synchronizes system inventory SYNOPSIS
/usr/bin/invsync DESCRIPTION
The invsync utility creates a Master Synchronization Inventory (MSI) file and a Customized File Inventory (CFI) file. These files can be used to preserve the customized or modified state of your system in the event of a new installation. The MSI file contains a complete list of files installed by the setld utility and the state of those files when they were installed. The CFI file contains the names of those files installed by the setld utility that have been customized or modified since the installation. The files listed in the CFI file are overwritten if you perform a new installation of the operating system. You must have superuser privileges to run the invsync utility. The invsync utility calls the usync utility to create the MSI file. After the MSI file is created, the invsync utility calls the udetect utility to compare the state of the files shown in the MSI file with the current state of the files installed on the system. If a file state differs, an entry is written to the CFI file. Edit the CFI file to remove the entries for files that you do not want to back up. The CFI file and the MSI file are written in the setld inventory file format. For more information, refer to the stl_inv(4) refernce page. RESTRICTIONS
You must have superuser privileges to run the invsync utility. FILES
Subset lock files Subset inventory files Customized File Inventory Master Synchronization Inventory SEE ALSO
genufi(8), udetect(8), updmerge(8), updmv(8), usync(8) stl_inv(4) invsync(8)
All times are GMT -4. The time now is 07:36 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy