Sponsored Content
Top Forums UNIX for Dummies Questions & Answers How to delete only certain files? Post 302940607 by MadeInGermany on Tuesday 7th of April 2015 01:01:42 PM
Old 04-07-2015
You are right, the * shouldn't be there because % always strips from the end.
Removed in my previous post.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

when I try to run rm on multiple files I have problem to delete files with space

Hello when I try to run rm on multiple files I have problem to delete files with space. I have this command : find . -name "*.cmd" | xargs \rm -f it doing the work fine but when it comes across files with spaces like : "my foo file.cmd" it refuse to delete it why? (1 Reply)
Discussion started by: umen
1 Replies

2. Shell Programming and Scripting

Delete all Files except the Latest Files

Hi, In my scenario, i just want to delete all the files except the latest one. How can I do? Please reply me. (3 Replies)
Discussion started by: spkandy
3 Replies

3. Shell Programming and Scripting

Delete all files if another files in the same directory has a matching occurence of a specific word

Hello, I have several files in a specific directory. A specific string in one file can occur in another files. If this string is in other files. Then all the files in which this string occured should be deleted and only 1 file should remain with the string. Example. file1 ShortName "Blue... (2 Replies)
Discussion started by: premier_de
2 Replies

4. Shell Programming and Scripting

Need help creating a script to FTP files to a server and then delete the files that were transfered.

I am trying to FTP files to a Windows server through my Linux machine. I have setup the file transfer with no problems but am having problem deleting those files from the Linux box. My current non-working solution is below. Any ideas, anyone?? :wall: Please be gentle, I'm fairly new to this... (4 Replies)
Discussion started by: jmalfhs
4 Replies

5. Shell Programming and Scripting

how to delete the older files other than the recently added 5 files

Number of files will get created in a folder automatically daily.. so i hav to delete the older files other than the recently added 5 files.. Could u help me through this..?? (5 Replies)
Discussion started by: shaal89
5 Replies

6. Shell Programming and Scripting

Delete all files but exclude some files

Hi, I have a software install in a directory, says "/opt/tibco". If I want to remove all the things in this directory and its sub-directories, but exclude all log files (*.log in different directories) and keep empty directories exist. What should my command look like? I have no idea on how... (2 Replies)
Discussion started by: dirkaulo
2 Replies

7. UNIX for Dummies Questions & Answers

Concatenate files and delete source files. Also have to add a comment.

- Concatenate files and delete source files. Also have to add a comment. - I need to concatenate 3 files which have the same characters in the beginning and have to remove those files and add a comment and the end. Example: cat REJ_FILE_ABC.txt REJ_FILE_XYZ.txt REJ_FILE_PQR.txt >... (0 Replies)
Discussion started by: eskay
0 Replies

8. Shell Programming and Scripting

Delete all files if another files in the same directory has a matching occurrence of a specific word

he following are the files available in my directory RSK_123_20141113_031500.txt RSK_123_20141113_081500.txt RSK_126_20141113_041500.txt RSK_126_20141113_081800.txt RSK_128_20141113_091600.txt Here, "RSK" is file prefix and 123 is a code name and rest is just timestamp of the file when its... (7 Replies)
Discussion started by: kridhick
7 Replies

9. Shell Programming and Scripting

Script needed to delete to the list of files in a directory based on last created & delete them

Hi My directory structure is as below. dir1, dir2, dir3 I have the list of files to be deleted in the below path as below. /staging/retain_for_2years/Cleanup/log $ ls -lrt total 0 drwxr-xr-x 2 nobody nobody 256 Mar 01 16:15 01-MAR-2015_SPDBS2 drwxr-xr-x 2 root ... (2 Replies)
Discussion started by: prasadn
2 Replies

10. UNIX for Beginners Questions & Answers

Delete only two files

Hello all I am new at this forum. I needed little help with unix Display first two files on screen and at the same time send to recycle bin. I tried following command and it deleted all files in my current directory. ls -l | grep ^- | head -2 | rm * let me know how do to this, is recycle... (2 Replies)
Discussion started by: dnemo12
2 Replies
PERLEXPERIMENT(1)					 Perl Programmers Reference Guide					 PERLEXPERIMENT(1)

NAME
perlexperiment - A listing of experimental features in Perl DESCRIPTION
This document lists the current and past experimental features in the perl core. Although all of these are documented with their appropriate topics, this succinct listing gives you an overview and basic facts about their status. So far we've merely tried to find and list the experimental features and infer their inception, versions, etc. There's a lot of speculation here. Current experiments -Dusemultiplicity -Duseithreads Introduced in Perl 5.6.0 Long Doubles Still Don't Work In Solaris Introduced in Perl 5.7.0 "our" can now have an experimental optional attribute "unique" Introduced in Perl 5.8.0 Deprecated in Perl 5.10.0 Linux abstract Unix domain sockets Introduced in Perl 5.9.2 See also Socket Pod::HTML2Pod Pod::PXML The <:pop> IO pseudolayer See also perlrun The <:win32> IO pseudolayer See also perlrun MLDBM See also perldsc internal functions with M flag See also perlguts lex_start API Introduced in Perl 5.13.7 internal API for "%^H" Introduced in Perl 5.13.7 See also "cophh_" in perlapi. alloccopstash Introduced in Perl 5.18.0 av_create_and_push av_create_and_unshift_one av_create_and_unshift_one cop_store_label Introduced in Perl 5.16.0 PL_keyword_plugin gv_fetchmethod_*_flags Introduced in Perl 5.16.0 hv_iternext_flags lex_bufutf8 lex_discard_to lex_grow_linestr lex_next_chunk lex_peek_unichar lex_read_space lex_read_to lex_read_unichar lex_stuff_pv lex_stuff_pvn lex_stuff_pvs lex_stuff_sv lex_unstuff op_scope op_lvalue parse_fullstmt parse_stmtseq PL_parser->bufend PL_parser->bufptr PL_parser->linestart PL_parser->linestr Perl_signbit pad_findmy sv_utf8_decode sv_utf8_downgrade bytes_from_utf8 bytes_to_utf8 utf8_to_bytes Lvalue subroutines Introduced in Perl 5.6.0 See also perlsub There is an "installhtml" target in the Makefile. Unicode in Perl on EBCDIC "(?{code})" See also perlre "(??{ code })" See also perlre Smart match ("~~") Introduced in Perl 5.10.0 Modified in Perl 5.10.1, 5.12.0 Lexical $_ Introduced in Perl 5.10.0 Backtracking control verbs "(*ACCEPT)" Introduced in: Perl 5.10 See also: "Special Backtracking Control Verbs" in perlre Code expressions, conditional expressions, and independent expressions in regexes gv_try_downgrade See also perlintern Experimental Support for Sun Studio Compilers for Linux OS See also perllinux Pluggable keywords See "PL_keyword_plugin" in perlapi for the mechanism. Introduced in: Perl 5.11.2 Array and hash container functions accept references Introduced in Perl 5.14.0 Lexical subroutines Introduced in: Perl 5.18 See also: "Lexical Subroutines" in perlsub Regular Expression Set Operations Introduced in: Perl 5.18 See also: "Extended Bracketed Character Classes" in perlrecharclass Accepted features These features were so wildly successful and played so well with others that we decided to remove their experimental status and admit them as full, stable features in the world of Perl, lavishing all the benefits and luxuries thereof. They are also awarded +5 Stability and +3 Charisma. The "N" regex character class The "N" character class, not to be confused with the named character sequence "N{NAME}", denotes any non-newline character in a regular expression. Introduced in: Perl 5.12 fork() emulation Introduced in Perl 5.6.1 See also perlfork DB module Introduced in Perl 5.6.0 See also perldebug, perldebtut Weak references Introduced in Perl 5.6.0 Internal file glob Introduced in Perl 5.6.0 die accepts a reference Introduced in Perl 5.005 64-bit support Introduced in Perl 5.005 Removed features These features are no longer considered experimental and their functionality has disappeared. It's your own fault if you wrote production programs using these features after we explicitly told you not to (see perlpolicy). "legacy" The experimental "legacy" pragma was swallowed by the "feature" pragma. Introduced in: 5.11.2 Removed in: 5.11.3 Assertions The "-A" command line switch Introduced in Perl 5.9.0 Removed in Perl 5.9.5 Test::Harness::Straps Moved from Perl 5.10.1 to CPAN GetOpt::Long Options can now take multiple values at once (experimental) "Getopt::Long" upgraded to version 2.35 Removed in Perl 5.8.8 The pseudo-hash data type Introduced in Perl 5.6.0 Removed in Perl 5.9.0 5.005-style threading Introduced in Perl 5.005 Removed in Perl 5.10 perlcc Introduced in Perl 5.005 Moved from Perl 5.9.0 to CPAN AUTHORS
brian d foy "<brian.d.foy@gmail.com>" Sebastien Aperghis-Tramoni "<saper@cpan.org>" COPYRIGHT
Copyright 2010, brian d foy "<brian.d.foy@gmail.com>" LICENSE
You can use and redistribute this document under the same terms as Perl itself. perl v5.18.2 2014-01-06 PERLEXPERIMENT(1)
All times are GMT -4. The time now is 06:00 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy