hi:
I have some files like this
folder1/recording1.mp3
folder1/docs/budget.doc
folder2/others/misc.mp3
folder3/others/notes.doc
all this folders and files are under the mp3 folder.
I would like to move just the mp3s to another folder but retain the subdir structure i have.
So if... (4 Replies)
Hi,
I have hundered's of files of the name
CMP_PORT_IN_P200903271623042437_20090328122430_err.xml in error directory of todays date ie 20090328 and in the file name 5th field specifies date only now i want to move all files of 20090328 to another directory i.e reprocess directory.
So... (3 Replies)
I have created a directory structure and under the directory subdirectories and files are there.I need to move the entire thing
to another path.How can i write a script to do that.
currently the path of files is as below :
/data1/serial/mcycle/archive : under this path differnt sub dir exist ... (6 Replies)
Hello, I have a directory www with multiple directories. Every directory has site name with .htm, .html, .php files or sub directories with .htm, .php, .html file as example
- www
- sitename 1
- site 1
- sitename 2
- sitename 3
What I'm looking for is a... (7 Replies)
Hi,
I want to run git status for the dir which has subdir ".git" in it with dir path mentioned in output log?
If a dir does not have .git subdir then skip that dir.
Dir will have 100 main dirs & 500 + subdirs and so on.
I appreciate all your help :b: (4 Replies)
Hi,
First off I'm pretty new to scripting so please be gentle.
I am looking for some help with a script that will move all files with a certain extension into a folder within their current location.
Just for clarity I have all my photos organised in directories such as:
... (4 Replies)
Need a script to move the files from one dir to other dir and at the same time it has to read the log in the source dir. Please help me ASAP. (4 Replies)
Hi All,
I want to copy the dir/subdir structure from SERVER-A to SERVER-B without copying all the files in each dir.
Is it possible using SCP / SFTP command?
For example,
SERVER-A has following two dir/subdirectories and files under each subdir.
... (1 Reply)
Hello all,
I'm very new to shell scripting and need quite urgently to do this thing for my student job. I have a directory called "vectors" with a bunch of files all named ".vector". also i have for each of those files a directory with the name . I now want to move each of those *.vector files... (2 Replies)
How do I create a tar file for only dir and its subdir structures?? (4 Replies)
Discussion started by: vx04
4 Replies
LEARN ABOUT MOJAVE
vfs-filesystems
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)