Windows batch command for deleting particular pattern named folders in temp
Hi All,'
I need to write a windows bat program to delete particular folders with naming pattern scoped_dir45666 (for example)(including contents)
with batch program. For that I am using below code:
i got above code from some forum, but its deleting everything causing system issues...(its screwing some os files also I guess)
I need to delete all directories names starting with scoped_dirxxxxx (scoped_dir*) can some one advise how to modify above code to delete only folders name starting with scoped_dir in %temp% folder
Moderator's Comments:
Please use CODE (not ICODE) tags as required by forum rules!
Hi Guys
I have over 2000+ print jobs in one queue which I would like to delete. Is there away in AIX 4.3 that I can delete the whole print jobs at ocne. Instead of one at a time.
Thanks (1 Reply)
Hello,
I'm spendind hours trying to figure out how a script could remove files and folders older than 30days in a given volume (/dataVolumes/Booba.1.0).
Within this volume, all users have their personal folder that starts with "RC-..", so the script should skip them for deletion.
I will... (4 Replies)
Hi All,
Please can someone assist in the script I have made that searches a pattern in a file and delete the whole line containing the pattern.
#!bin/sh
# The pattern that user want to add to the files
echo "Enter the pattern of the redirect"
read value
# check if the user has... (1 Reply)
How can I delete all the files in subfolders without folders (preserving directory scructure).
P.S. I have a huge variety of computer books organized in subfolders (admin web hardw programming_langs) .. but I don't need them - the only way to know something now is GOOGLE (I've realized now)...... (1 Reply)
Hi
I have a file:
r58778.3|SOURCES={KEY=f665931a...,fw,221-705}|ERRORS={16_1:T,30_1:T,56_1:C,57_1:T,59_1:A,101_1:A,115:-,158_1:C,186_1:A,204:-,271_1:T,305:-,350_1:C,368_1:G,442_1:C,472_1:G,477_1:A}|SOURCE_1="Contig_1092402550638"(f665931a359e36cea0976db191ff60ff09cc816e)
I want to retain... (15 Replies)
Hi, There is a file by name '*' in a hp-ux box. How can i delete the same?
-rw-r--r-- 1 wleadm dba 1531 Jul 24 08:49 *
need to delete this file named * without deleting any other file. Please help. (9 Replies)
Hi all new to the forums. Very beginner at shell scripting. What I'm trying to do is this:
Is the directory empty prior to removal of it? If not, inform the user that the directory is not empty and if the user wants to remove it remove or move the files in it first.
But I'm stuck.. It checks... (3 Replies)
Hi All,
I want delete all files from destination folder. I am trying below commands
rsync -avFF --delete-after /home/vizion/source/ /home/vizion/destination/
I need to be delete all file/fodders from destination
Any body have idea ? Please correct me. (3 Replies)
Discussion started by: Chenchireddy
3 Replies
LEARN ABOUT DEBIAN
codeblocks
man(1) Code::Blocks IDE man page man(1)NAME
Code::Blocks - The open-source, cross-platform IDE
SYNOPSIS
codeblocks [-h] [-ns] [-d] [--prefix <str>] [-p <str>] [--profile <str>] [--rebuild] [--build] [--target <str>] [--no-batch-window-close]
[--batch-build-notify] [filename(s)...]
DESCRIPTION
codeblocks launches the Code::Blocks IDE. Its various command-line arguments are listed below.
OPTIONS -h, --help
Displays the list of accepted command-line arguments.
-ns Do not display a splash screen on startup. The splash screen can be completely disabled in the program's environment options.
-d Enable the debugging log.
--prefix
Specify an alternate path for Code::Blocks to find its shared files.
-p, --profile
Set which profile to use. If you set the profile to ask , Code::Blocks will display a list with all the known profiles to choose
from.
--rebuild
Start a batch rebuild (i.e. "clean" and "build") job on the filenames passed as arguments. The filenames can be either projects or
workspaces.
--build Start a batch build (i.e. no "clean") job on the filenames passed as arguments. The filenames can be either projects or
workspaces.
--target
Specify a single build target to build in the batch build (or rebuild) job.
--no-batch-window-close
When the batch job ends, the log window closes too. This option keeps it open until you manually close it.
--batch-build-notify
Display a message when the batch job finishes.
EXAMPLES
Batch build myproject.cpp, only the "Debug" target and keep the batch job window open when finished:
codeblocks --build --target="Debug" --no-batch-window-close myproject.cbp
Batch rebuild everything in myproject.cpp:
codeblocks --rebuild myproject.cbp
AUTHOR
Yiannis "mandrav" Mandravellos (mandrav@codeblocks.org)
HISTORY
2006 - Initial version
1.0 10 July 2006 man(1)