A script to find dir, delete files in, and then del dir?
Hello!!
I have directories from 2008, with files in them. I want to create a script that will find the directoried from 2008 (example directory:
drwxr-xr-x 2 isplan users 1024 Nov 21 2008 FILES_112108), delete the files within those directories and then delete the directories themsleves. I know the long way of doing this: cd into directory, enter rm *, then cd ../;rmdir directory.
Is ir possible to create a script instead of doing this manually?
would the code be:
Thanks in advance!
Ben
Last edited by pludi; 12-15-2009 at 05:35 AM..
Reason: closed code tag
hi all,
i'm looking for a bash or tcsh script that will clone an empty dir tree 'over' another tree ...
specifically, i'd like to:
(1) specify a src directory
(2) list the directory tree/hiearchy beneath that src dir, w/o files -- just the dirs
(3) clone that same, empty dir hierarchy to... (2 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)
Hi, I am a unix newbie.I need to write a shell script to move my oracle READ WRITE datafiles from one serevr to another. I need to move it from /u01/oradata/W1KK/.. to /u01/oradata/W2KK,
/u02/oradata/W1KK/.. to /u02/oradata/W2KK.
That is, I actaully am moving my datafiles from one database to... (2 Replies)
I am very new to unix as well as shell scripting.
I have to write a script for the following requirement. In have to list all the files in directory and its sub directories along with file path and size of the file
Please help me in this regard and many thanks in advance. (3 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)
Hello Comunity
I am trying to make a bash shell script that it copies files and subdirs(with files) to a new dir. I would like the dest_dir to contain only subdirectories with files not other subdirs inside.
it called : cpflatdir src_dir dest_dir
Pleaze help me!
Thank you in... (2 Replies)
Dear Members,
I have a list of xml files like
abc.xml.table
prq.xml.table
...
..
.
in a txt file.
Now I have to search the file(s) in all directories and sub-directories and print the full path of file in a output txt file.
Please help me with the script or command to do so.
... (11 Replies)
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)
Hi,
I have the shell script requirement mentioned below :
List all java and c files or all files in directory and sub directories' in folder structure in current dir.
then search for pattren1 in all files globally and replace with other string .
And also check the date... (3 Replies)
I have searched this quite a long time but couldn't find the right method for me to use. I need to assign read write permission to the user for specific directories and it's sub directories and files. I do not want to use ACL. I do not want to assign user the same group of that directories too.... (0 Replies)
Discussion started by: blinkingdan
0 Replies
LEARN ABOUT DEBIAN
scvim_make_help
SCVIM(1) General Commands Manual SCVIM(1)NAME
scvim_make_help - strip SuperCollider HTML help to text, for use with scvim
SYNOPSIS
scvim_make_help [options]
DESCRIPTION
This manual page documents briefly the scvim_make_help command.
scvim_make_help is a script that strips SuperCollider HTML help to text format, for use with scvim. Users do NOT normally need to invoke
it, since it is called by the main scvim script upon first run. The stripped files are placed in ~/.scvim by default, but this can be
overridden by specifying SCVIM_CACHE_DIR environment variable.
OPTIONS
A summary of options is included below.
-s --source-dir directory
Specify the soruce directory to search for HTML help files.
-d --dest-dir directory
The Destination Directory for the processed Help Files.
-c --clean
Clean the Destination Directory before building the helpfiles.
-f --force
Do not prompt to see if the user is sure about deleting files.
-h --help
Show summary of options.
SEE ALSO scvim(1)
/usr/share/doc/supercollider-vim/README.scvim
AUTHOR
scvim was written by Alex Norman <alex at x37v dot info>.
This manual page was written by Dan Stowell <danstowell@users.sourceforge.net>, for the Ubuntu project (but may be used by others).
Nov 18, 2008 SCVIM(1)