Sponsored Content
Full Discussion: house keeping script
Top Forums UNIX for Dummies Questions & Answers house keeping script Post 94387 by Rakesh Bhat on Friday 30th of December 2005 07:27:39 AM
Old 12-30-2005
Quote:
Originally Posted by blowtorch
I think that you are confused with the command that you are using. The options given look very much like the options supplied to tar. Try replacing the '/usr/bin/jar' with '/usr/bin/tar' and see if it works.
Thanks,

can i use zip instead of tar.
like in zip we have option to get list of input files from standard input using:

find . -name "*.[ch]" -print | zip source -@

Can I do the same using tar.

thanks
 

6 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Help! Newbie in the house!!!

Ok i was reading a book (sad) and it said to type in 'ftp' in Start/Run. I did but I know no commands for it. Can someone help me??? I also typed in 'telnet' and I know no commands for that either so I would like help on that... Thanx ..The Nutcracker Elite.. (4 Replies)
Discussion started by: The Nutcracker
4 Replies

2. UNIX for Dummies Questions & Answers

Automatic House keeping in UNIX

I have a directory called 'test' which contains many junk files. I want to automate the clean-up task by removing all files which are older than one month. What would be the best option? (3 Replies)
Discussion started by: augustinep
3 Replies

3. AIX

Script Keeping Track of Itself

Hi All We have a WEB Based application running on the IBM AIX server. There is a EOD Job which runs a UNIX script containing EOD Jobs. Say If any job fails then we have to explicitly comment out the jobs which were successfully executed and then re run the same. Is there any was by which we... (7 Replies)
Discussion started by: Prashantckc
7 Replies

4. Shell Programming and Scripting

Mail cleanup from ksh script, keeping 50 most recent msgs

I found some posts describing how to completely clean out a mailbox in Unix/Linux. But I want to keep the 50 most recent messages. Any ideas out there? Thanks! (3 Replies)
Discussion started by: OPTIMUS_prime
3 Replies

5. Shell Programming and Scripting

In bash script, how to assign output of a command to a variable while keeping tabs?

Hi, wondering if it's been asked before but didn't find matches from google. Basically I have this line: myvar=$(echo -e "a\tb") Now somehow the '\t' from the echo output gets replaced with white space and then stored in $myvar. It creates a problem for me later to use tab as delimiter to do... (2 Replies)
Discussion started by: birddie
2 Replies

6. OS X (Apple)

Apple looking to switch to using in-house ARM chips for their HW.

Hi guys and gals... Intel reportedly expects Apple to start the Mac's transition to ARM next year - 9to5Mac (0 Replies)
Discussion started by: wisecracker
0 Replies
vfslib(3tcl)						   Tcl-only Virtual File Systems					      vfslib(3tcl)

NAME
::vfslib - Procedures to interact with virtual filesystems SYNOPSIS
package require Tcl 8.4 package require vfs ?1.2.1? package require vfs::zip ?1.0? package require vfs::mk4 ?1.6? package require vfs::tar ?0.9? package require vfs::ftp ?1.0? package require vfs::ns ?1.0? package require vfs::webdav ?0.1? package require vfs::http ?0.5? package require vfs::urltype ?1.0? vfs::zip::Mount path to vfs::ftp::Mount path to vfs::tar::Mount path to vfs::http::Mount path to vfs::mk4::Mount path to vfs::ns::Mount path to vfs::urltype::Mount type DESCRIPTION
The ::vfs package includes a library of Tcl code, implementing a number of different virtual filesystems. Each of these exists as its own package, and can be accessed through package require vfs::NAME. The whole set of virtual filesystems is known informally as 'vfslib' SUPPORTED VFS TYPES
The current supported types are ftp, tar, http, zip, mk4, ns, webdav. In addition there is the ability to mount any 'urltype' as a new volume, provided an appropriate vfs is supported. This means that you can treat 'ftp://', 'http://' and 'file://' urls as files. To do this, simply evaluate the command vfs::urltype::Mount ftp for instance. Any access inside the new volume will result in an attempt to require a package through 'package require vfs::${type}', which must therefore exist, or errors will be thrown. LIMITATIONS
Most of the vfs types listed above have not been very well debugged as yet. Please test them! KEYWORDS
vfs, vfslib, filesystem, zip, tar, webdav, namespace, ftp, http, file Vfslib 1.0 vfslib(3tcl)
All times are GMT -4. The time now is 06:37 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy