04-10-2001
Hi, I need to delete all the files before yesterday on a single directoy. Do you help me?
TKS.
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
hi,
I'm trying to use sed to erase everything, and including the ending parenthesis. For example:
input: blah blah blah (12355)this is what i want.
output: this is what i want.
how would i do this?
i found an example online that does the opposite:
sed \"s|test.*||g\" file1 > file2";
... (5 Replies)
Discussion started by: gammaman
5 Replies
2. UNIX for Dummies Questions & Answers
hi,
I'm trying to use sed to erase everything, up to the first parenthesis. for example:
input: blah blah blah (aldj) test (dafs) test test.
output: (aldj) test (dafs) test test.
how would i do this?
I was fooling around with the parenthesis, and i only got it to apply on all parenthesis.... (1 Reply)
Discussion started by: gammaman
1 Replies
3. UNIX for Dummies Questions & Answers
My AIX has Korn Shell. I had set the prompt by providing assigning to PS1. If on the prompt I use backspace it erase the whatever appeared due to PS1. Can someone tell me how to forbid this erasing of prompt string, with this behaviour?
Thanks in advance. (4 Replies)
Discussion started by: videsh77
4 Replies
4. Shell Programming and Scripting
Hi I am going to migrate our datawarehouse system from HP Tru 64 Unix to the Red Hat Linux.
Inside the box, it is running around 40 cron jobs; inside each cron job, it is calling other shell script files, and the shell script files may again call other shell script files or ctl files(for... (1 Reply)
Discussion started by: franksubramania
1 Replies
5. Filesystems, Disks and Memory
Hi,
I am writing a script to wipe my hard disk, in a relatively secure manner by over-writing the disk with 3 patterns. So, I run the dd/dcfldd command 3 times with a sync call in between each command call in the script.
#!/bin/sh
dcfldd pattern=99 conv=notrunc of=/dev/sda
sync
dcfldd... (7 Replies)
Discussion started by: jake24
7 Replies
6. Filesystems, Disks and Memory
I have a load of DLT tapes I need to scrub and get rid off.
Anyone know of any application to erase the tapes before recycling them?
I have a Sun StorEdge L9 tape loader which I would like to utilise, so a script or application that can take advantage of doing a load of tapes without manual... (5 Replies)
Discussion started by: son_t
5 Replies
7. Shell Programming and Scripting
Hii,
Could someone help me to append string to the starting of all the filenames inside a directory but it should exclude .zip files and subdirectories.
Eg.
file1: test1.log
file2: test2.log
file3 test.zip
After running the script
file1: string_test1.log
file2: string_test2.log
file3:... (4 Replies)
Discussion started by: Ravi Kishore
4 Replies
8. OS X (Apple)
So far nobody on ASC, nor anywhere was able to respond to my issue and Google wasn't much of help either.
I started to experience the issue some time ago: my OS is Lion 10.7.5. It occurs in all apps that have the function of versioning (iWork which I have updated up to v9.2, namely, Pages 4.2,... (0 Replies)
Discussion started by: scrutinizerix
0 Replies
9. UNIX for Beginners Questions & Answers
i use the split command to split a one terabyte backup file into 10 chunks of 100 GB each. The files are split one after the other. While the files is being split, I will like to scp the files one after the other as soon as the previous one completes, from server A to Server B. Then on server B ,... (2 Replies)
Discussion started by: malaika
2 Replies
LEARN ABOUT DEBIAN
padre::task::file
Padre::Task::File(3pm) User Contributed Perl Documentation Padre::Task::File(3pm)
NAME
Padre::Task::File - File operations in the background
SYNOPSIS
# Recursively delete
Padre::Task::File->new(
remove => 'C:fooaraz',
)->schedule;
DESCRIPTION
The File::Remove CPAN module is a specialised package for deleting files or recursively deleting directories.
As well as providing the basic support for recursive deletion, it adds several other important features such as removing readonly limits on
the fly, taking ownership of files if permitted, and moving the current working directory out of the deletion path so that directory
cursors won't block the deletion (a particular problem on Windows).
The task takes the name of a single file or directory to delete (for now), and proceeds to attempt a recursive deletion of the file or
directory via the File::Remove "remove" method.
In the future, this module will also support more types of file operations and support the execution of a list of operations.
METHODS
new
my $task = Padre::Task::File->new(
remove => '/foo/bar/baz',
);
Creates a new deletion task.
Takes a single parameter "remove" which must be an absolute path to the file to delete (as the "current directory" may change between the
time the removal task is created and when it is executed).
remove
The "remove" accessor returns the absolute path of the file or directory the task will try to delete (or tried to delete in the case of
completed tasks).
SEE ALSO
Padre, Padre::Task, File::Remove
COPYRIGHT
Copyright 2008-2012 The Padre development team as listed in Padre.pm.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl 5 itself.
The full text of the license can be found in the LICENSE file included with this module.
perl v5.14.2 2012-06-27 Padre::Task::File(3pm)