Sponsored Content
Top Forums Shell Programming and Scripting Recursively cat files in a directory with filename printed first. Post 302719289 by lewk on Monday 22nd of October 2012 10:44:26 AM
Old 10-22-2012
Noted, thank you for this this.
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Recursively copy only specific files from a directory tree

Hi I am a shell-script newbie and am looking to synchronize certain files in two directory structures. Both these directory-trees are in CVS and so I dont want the CVS directory to be copied over. I want only .sh and .pl files in each subdirectory under these directory trees to be... (3 Replies)
Discussion started by: sharpsharkrocks
3 Replies

2. Shell Programming and Scripting

delete files recursively in the specified directory

I have to write a shell script which can delete all the files and directories recursively inside the specified directory but should not delete the specified directory. Please some body help me in writing the script. (3 Replies)
Discussion started by: deepthi.s
3 Replies

3. UNIX for Dummies Questions & Answers

cat files from subdirectories output using same filename

Hi, I need to concatenate data files with a .mp extension that are stored in directories by year. I want to keep the same filename as an output for example: for the file name p030.mp, which resides in the following subdirectories: /2000/p030.mp /2001/p030.mp /2002/p030.mp I want to:... (4 Replies)
Discussion started by: cmshreve
4 Replies

4. Shell Programming and Scripting

Problem with script generating files in directory recursively

I have a script which generates recursively some files in folders for a given root folder. I have checks for permissions and it works for all folders except one(i have 777 permission on it). When i try calling the script in problematic folder(problematic folder being root folder), script works as... (2 Replies)
Discussion started by: bb2
2 Replies

5. Solaris

Display the number of files in a directory and recursively in each subdirectory

Display the number of files in a directory and recursively in each subdirectory To look something like below, for example /var 35 /var/tmp 56 /var/adm 46Any ideas how can we do this? Got a sun cluser global mount point which takes ages to mount everytime, need to understand... (5 Replies)
Discussion started by: jakerock
5 Replies

6. Shell Programming and Scripting

Cat files listed in text file and redirect to new directory with same filename

I have a directory that is restricted and I cannot just copy the files need, but I can cat them and redirect them to a new directory. The files all have the date listed in them. If I perform a long listing and grep for the date (150620) I can redirect that output to a text file. Now I need to... (5 Replies)
Discussion started by: trigger467
5 Replies

7. UNIX for Dummies Questions & Answers

Find all files containing string not following symlinks CAT (modified) output content to /filename

This should recursively walk through all dirictories and search for a specified string in all present files, if found output manicured content (eg some regex) with CAT into a specified directory (eg /tmp/) one by one, keeping the original names This is what I have so far, which seems to... (1 Reply)
Discussion started by: lowmaster
1 Replies

8. Shell Programming and Scripting

How to recursively copy directory only for recent files?

I love the -newerct flag for the Cygwin find command on windows. Can I use "/usr/bin/find . -newerct '3 hours ago'" to conditionally copy a directory tree so that only the files in the directory tree that are younger than 3 hours are copied to my destination directory such that the directory... (4 Replies)
Discussion started by: siegfried
4 Replies

9. Shell Programming and Scripting

Find Large Files Recursively From Specific Directory

Hi. I found many scripts in the web of achieving this. But I like to use this one find /EDWH-DMT03 -xdev -size +10000 -exec ls -la {} \;|sort -n -k 5 > LARGE.rst But the problem is, why it still list out files with 89 bytes as the output? Is there anything wrong with the command? My... (7 Replies)
Discussion started by: aimy
7 Replies

10. Shell Programming and Scripting

Copy files recursively to one single directory

I need to copy a complete directory structure into a new location. But I want to have all files copied into one directory and leave out the directory structure. So all files must be placed in one directory. (4 Replies)
Discussion started by: ReneVL
4 Replies
CPAN::Meta::History(3pm)				User Contributed Perl Documentation				  CPAN::Meta::History(3pm)

NAME
CPAN::Meta::History - history of CPAN Meta Spec changes VERSION
version 2.120921 DESCRIPTION
The CPAN Meta Spec has gone through several iterations. It was originally written in HTML and later revised into POD (though published in HTML generated from the POD). Fields were added, removed or changed, sometimes by design and sometimes to reflect real-world usage after the fact. This document reconstructs the history of the CPAN Meta Spec based on change logs, repository commit messages and the published HTML files. In some cases, particularly prior to version 1.2, the exact version when certain fields were introduced or changed is inconsistent between sources. When in doubt, the published HTML files for versions 1.0 to 1.4 as they existed when version 2 was developed are used as the definitive source. Starting with version 2, the specification document is part of the CPAN-Meta distribution and will be published on CPAN as CPAN::Meta::Spec. Going forward, specification version numbers will be integers and decimal portions will correspond to a release date for the CPAN::Meta library. HISTORY
Version 2 April 2010 o Revised spec examples as perl data structures rather than YAML o Switched to JSON serialization from YAML o Specified allowed version number formats o Replaced 'requires', 'build_requires', 'configure_requires', 'recommends' and 'conflicts' with new 'prereqs' data structure divided by phase (configure, build, test, runtime, etc.) and relationship (requires, recommends, suggests, conflicts) o Added support for 'develop' phase for requirements for maintaining a list of authoring tools o Changed 'license' to a list and revised the set of valid licenses o Made 'dynamic_config' mandatory to reduce confusion o Changed 'resources' subkey 'repository' to a hash that clarifies repository type, url for browsing and url for checkout o Changed 'resources' subkey 'bugtracker' to a hash for either web or mailto resource o Changed specification of 'optional_features': o Added formal specification and usage guide instead of just example o Changed to use new prereqs data structure instead of individual keys o Clarified intended use of 'author' as generalized contact list o Added 'release_status' field to indicate stable, testing or unstable status to provide hints to indexers o Added 'description' field for a longer description of the distribution o Formalized use of "x_" or "X_" for all custom keys not listed in the official spec Version 1.4 June 2008 o Noted explicit support for 'perl' in prerequisites o Added 'configure_requires' prerequisite type o Changed 'optional_features' o Example corrected to show map of maps instead of list of maps (though descriptive text said 'map' even in v1.3) o Removed 'requires_packages', 'requires_os' and 'excluded_os' as valid subkeys Version 1.3 November 2006 o Clarified that all prerequisites take version range specifications o Added 'no_index' subkey 'directory' and removed 'dir' to match actual usage in the wild o Added a 'repository' subkey to 'resources' Version 1.2 August 2005 o Re-wrote and restructured spec in POD syntax o Changed 'name' to be mandatory o Changed 'generated_by' to be mandatory o Changed 'license' to be mandatory o Added required 'abstract' field o Added required 'author' field o Added required 'meta-spec' field to define 'version' (and 'url') of the CPAN Meta Spec used for metadata o Added 'provides' field o Added 'no_index' field and deprecated 'private' field. 'no_index' subkeys include 'file', 'dir', 'package' and 'namespace' o Added 'keywords' field o Added 'resources' field with subkeys 'homepage', 'license', and 'bugtracker' o Added 'optional_features' field as an alternate under 'recommends'. Includes 'description', 'requires', 'build_requires', 'conflicts', 'requires_packages', 'requires_os' and 'excluded_os' as valid subkeys o Removed 'license_uri' field Version 1.1 May 2003 o Changed 'version' to be mandatory o Added 'private' field o Added 'license_uri' field Version 1.0 March 2003 o Original release (in HTML format only) o Included 'name', 'version', 'license', 'distribution_type', 'requires', 'recommends', 'build_requires', 'conflicts', 'dynamic_config', 'generated_by' AUTHORS
o David Golden <dagolden@cpan.org> o Ricardo Signes <rjbs@cpan.org> COPYRIGHT AND LICENSE
This software is copyright (c) 2010 by David Golden and Ricardo Signes. This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. perl v5.14.2 2012-04-01 CPAN::Meta::History(3pm)
All times are GMT -4. The time now is 04:28 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy