Hi Guys i'm looking for some help with creating a scripts:
Background - I run alot of testing which creates huge files. This fills up the diskspace over 3 weeks so needs constant deleting. but generally, I keep forgetting!!! so every 3 weeks it fails lol.
Basically i can't format the drive... (2 Replies)
Hi
I need to delete more than 3 million files from /var/spool/clientmqueue. When I give the following command to delete the files, I get the error
# pwd
/var/spool/clientmqueue
# rm -f *
/usr/bin/rm: arg list too long
Please tell me how can I delete the files (5 Replies)
Dear All,
I have two files both containing 10 Million records each separated by comma(csv fmt).
One file is input.txt other is status.txt.
Input.txt-> contains fields with one unique id field (primary key we can say)
Status.txt -> contains two fields only:1. unique id and 2. status
... (8 Replies)
Hi, I'd like to ask if anybody can help improve my code to move 1 million+ files from a directory to another:
find /source/dir -name file* -type f | xargs -I '{}' mv {} /destination/dir
I learned this line of code from this forum as well and it works fine. However, file movement is kinda... (6 Replies)
Hi,
I am on Linux Redhat 5.3. I added this static route but now I can't seem to take it out. Can you help?
netstat -rn
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
167.76.151.28 192.1.25.249 255.255.255.255 UGH 0 0... (1 Reply)
HI,
I want to remove my backup files keeping last 30 days.
Now i am doing it manually.
Does anyone have a script to automate this process?
Thanks in advance (5 Replies)
Hi Everyone,
in the below "xyz (Exception e)" part... after the curly braces, there is a new line and immediately few tabs are present before closing curly brace.
xyz (Exception e) {
}
note: there can be one or more newlines between the curly braces.
My desired output should be ... (6 Replies)
Hi
I have task to zip files based on modified time but they are in millions and it is taking lot of time more than 12 hours and also eating up high cpu
is there any other / better way to handle it quickly with less cpu consumptionfind . ! -name \"*.gz\" -mtime +7 -type f | grep -v '/.*/' |... (2 Replies)
Discussion started by: reldb
2 Replies
LEARN ABOUT ULTRIX
rmdel
rmdel(1) General Commands Manual rmdel(1)Name
rmdel - remove a delta from an SCCS file
Syntax
rmdel -r files
Description
The command removes the delta specified by the SID from each named SCCS file. The delta to be removed must be the most recent delta in its
branch in the delta chain of each named SCCS file. In addition, the specified delta must not be that of a version being edited for the
purpose of making a delta, for example, if a p-file exists for the named SCCS file, the specified delta must not appear in any entry of
the p-file). For further information, see
If a directory is named, behaves as though each file in the directory were specified as a named file, except that non-SCCS files (last com-
ponent of the path name does not begin with s.) and unreadable files are silently ignored. If - is given as the name, the standard input
is read and each line of the standard input is taken to be the name of an SCCS file to be processed. Non-SCCS files and unreadable files
are silently ignored.
Certain permissions are necessary to remove a delta. If you make a delta or own the file and directory, you can remove it.
Options-rSID Specifies the delta version number.
Diagnostics
Use for explanations.
Files
x-file For further information, see
z-file For further information see
See Alsodelta(1), get(1), help(1), prs(1), sccs(1), sccsfile(5)
Guide to the Source Code Control System
rmdel(1)