Sponsored Content
Top Forums UNIX for Dummies Questions & Answers TAR question (probably a very simple answer) Post 302454307 by chatguy on Friday 17th of September 2010 02:34:50 PM
Old 09-17-2010
Question

Quote:
Originally Posted by Corona688
cd /testing123 ; tar -cf /path/to/test.tar *.gz
Although that does work, Is there a way of doing this without changing the directory beforehand? (apologies for not asking that part of it in the original question) Thanks!

cg
 

8 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

A question that need an answer Plz

I'm with FreeBSD 4.6.2, and i would like to know how to install this ports : ftp://ftp.freebsd.org/pub/FreeBSD/branches/-current/ports/net/kmerlin There's no .tgz so i can't do the pkg_add command. Can you please help me??? Thank You. :) Erythro73 (6 Replies)
Discussion started by: Erythro73
6 Replies

2. UNIX for Dummies Questions & Answers

Simple TAR question

Unix is great at giving you power were you need it, but what a pain in the rump when you just want to do such a simple thing like file management. I'm going back to Windows, crashing is frustrating, needing to spend 30 min just to zip a file up is crazy. (3 Replies)
Discussion started by: yankee428
3 Replies

3. Shell Programming and Scripting

Stupid question but please answer

How do i save a script in unix. do i just type something like #!/bin/sh # This is a comment! echo Hello World #This is also a comment Then just go to save as and save it or what? just kinda confused me as i was reading different things and playing around (6 Replies)
Discussion started by: Corrail
6 Replies

4. UNIX for Dummies Questions & Answers

Ok simple question for simple knowledge...

Ok what is BSD exactly? I know its a type of open source but what is it exactly? (1 Reply)
Discussion started by: Corrail
1 Replies

5. Shell Programming and Scripting

automatically answer a question raised by a command

i have installed vmware on a text base linux node now i have to vmware-configure.pl to do the initial configuration now 1st step it askes for agreeing for a " License Agreement" for that i have to say "q" and "yes" to Accept it i want to run a script with does these 3 steps... (6 Replies)
Discussion started by: pbsrinivas
6 Replies

6. UNIX for Dummies Questions & Answers

Please, i need an answer to this question!!

Hello!! I need some help about a question... It was asked in exams 3 years ago in Greece and nobody is certain abou the answer. Others say that the right answer is b and others say c. I found this forum and i saw that you know a lot of things about UNIX so i hope that some of you will help me.... (1 Reply)
Discussion started by: evoula_vou
1 Replies

7. Solaris

Solaris JumpStarting?... Simple Yes/No Question... Unless the answer's 'No'

I'm reading through this guide, BigAdmin Feature Article: Using Solaris JumpStart With the Solaris 10 OS for x86/x64 Platforms, and I was wondering if there was more to the bash scripts than just the example given (see above link) like for begin1 and begin2 and finish1 and finish2. I don't know... (3 Replies)
Discussion started by: Bradj47
3 Replies

8. Red Hat

Syslog.conf: looking for a simple answer on a simple question

Cheers! In /etc/syslog.conf, if an error type is not specified, is it logged anywhere (most preferable is it logged to /var/log/messages) or not? To be more precise I am interested in error and critical level messages. At default these errors are not specified in syslog.conf, and I need to... (6 Replies)
Discussion started by: dr1zzt3r
6 Replies
vfs-filesystems(n)														vfs-filesystems(n)

__________________________________________________________________________________________________________________________________________________

NAME
vfs-filesystems - Filesystems provided by tclvfs 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::mk4::Mount path to vfs::tar::Mount path to vfs::ftp::Mount path to vfs::ns::Mount path to vfs::webdav::Mount path to vfs::http::Mount path to vfs::urltype::Mount path to _________________________________________________________________ DESCRIPTION
The package vfs provides not only the means to implement a virtual filesystem at the tcl level, but also a number of ready to be used filesystems as well. Each of these filesystem exists as its own package, and can be accessed through package require vfs::NAME. The whole set of these virtual filesystems is known informally as 'vfslib'. SUPPORTED VFS TYPES
Currently supported are ftp, tar, http, zip, mk4, ns, and webdav. In addition there is the ability to mount any 'urltype' as a new direc- tory, provided an appropriate vfs is supported. This means that you can treat urls based on the schemes ftp://, http:// and file:// as files. To do this, simply evaluate the command vfs::urltype::Mount ftp for example. 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. If a filesystem is loaded, use the associated command listed below to mount a source for that filesystem as a tcl directory. vfs::zip::Mount path to Mount the zip file path as directory to. vfs::mk4::Mount path to Mount the metakit database file file path as directory to. vfs::tar::Mount path to Mount the tar file path as directory to. vfs::ftp::Mount path to Mount the ftp url path as directory to. vfs::ns::Mount path to Mount the tcl namespace path as directory to. vfs::webdav::Mount path to Mount the webdav url path as directory to. vfs::http::Mount path to Mount the http url path as directory to. vfs::urltype::Mount path to Mount the url path, of type urltype as directory to. LIMITATIONS
Most of the vfs types listed above have not been very well debugged as yet. Please test them! SEE ALSO
vfs, vfs-fsapi KEYWORDS
file, filesystem, ftp, http, metakit, namespace, tar, vfs, vfslib, webdav, zip COPYRIGHT
Copyright (c) 2001-2003 Vince Darley <vincentdarley@users.sourceforge.net> Copyright (c) 2003 Andreas Kupries <andreas_kupries@users.sourceforge.net> Tcl-level Virtual Filesystems 1.0 vfs-filesystems(n)
All times are GMT -4. The time now is 03:08 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy