04-26-2012
Thanks for the quick response but im getting the error below
mv: /optima/prd/optdir/testbsc/dist///optima/prd/optdir/testbsc/dist//JHB_100001_BSCPSBasicMeasurement_23Apr2012_0600-23Apr2012_0700.csv: cannot access: No such file or directory
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi all,
I have a folder '/samplefolder' in which i have some files like data0.txt, data1.txt and data2.txt.
I have to search the folder for existence of the file data0.txt first and if found have to copy it to some other file; next i have to search the folder for existence of file... (5 Replies)
Discussion started by: satish2712
5 Replies
2. Shell Programming and Scripting
Hi All
I need a shell script for move the 1 year old files from one folder to another folder with date and time.
How to write a shell script for the same pls hepl me out.
thanx in advance
Thanx
Lalit (2 Replies)
Discussion started by: lalitkumar
2 Replies
3. Shell Programming and Scripting
Hi
I need to move last 1 year old files from one folder to another location on same server.How to write a shell script for the same?
thanx
Lalit (8 Replies)
Discussion started by: lalitkumar
8 Replies
4. UNIX for Advanced & Expert Users
Hi,
I need to move 1000s of files from one folder to another.
Actually there are 100K+ files.
Source dir : source1
Target dir : target1
Now if try cp or mv commands I am getting an error message : Argument List too long.
I tried to do it by the time the files are created in the... (1 Reply)
Discussion started by: unx100
1 Replies
5. Shell Programming and Scripting
I have a more than 10 K files in a folder. They are accumulated in a period of more than an year (Say from 13th July 2010 to 4th June 2011). I need to perform housekeeping on this. The requirement is to create a folder like 13Jul2010,14July2010,......3June2011,4June2010 and then from the main... (2 Replies)
Discussion started by: realspirituals
2 Replies
6. UNIX for Dummies Questions & Answers
Hi guys can you please help me with a script to find files with one row the move the file to another directory
the files are in
/optima/prd/optdir/ZTE_BSS/Combiner/ZTE_2G/out/BSC_PS_Basic_Meas
and I want to move them to
/optima/prd/optdir/ZTE_BSS/Loader/error/ZTE_2G/BSC_PS_Basic_Meas
... (5 Replies)
Discussion started by: Dj Moi
5 Replies
7. UNIX for Dummies Questions & Answers
hello there- first post here- maybe someone can help-
Basically I am trying to copy the contents of a folder to a different folder that has a variable name.
the content I want to copy would be in a folder on my desktop called: myfolder
the variable folder would look something like: ... (3 Replies)
Discussion started by: infothelonghaul
3 Replies
8. Shell Programming and Scripting
Dear All,
I have a file with this name= xx-nnnn.csv , I has texts in this format,
231048975938093056;234317862284705793;609384034;14955353;1344700706000;1;
231048975938093056;234317958632054785;715450794;52422878;1344700729000;1;... (10 Replies)
Discussion started by: davidfreed
10 Replies
9. Shell Programming and Scripting
I recently bought Synology server and realised it can run scripts. I would need fairly simple script which moves all files and folders from ARCHIVE folder to WORKING folder. I would also need to maintain folder structure as each of the folders may contain subfolders. How would I go about it as I am... (1 Reply)
Discussion started by: ###
1 Replies
10. Shell Programming and Scripting
I need help to write shell script to copy files from one server to another server.
Source Directory UAE(inside i have another folder Misc with files inside UAE folder).I have to copy this to another server UAE folder( Files should be copied to UAE folder and Misc files should be copied in target... (3 Replies)
Discussion started by: naresh2389
3 Replies
LEARN ABOUT DEBIAN
cpanplus::dist
CPANPLUS::Dist(3perl) Perl Programmers Reference Guide CPANPLUS::Dist(3perl)
NAME
CPANPLUS::Dist - base class for plugins
SYNOPSIS
my $dist = CPANPLUS::Dist::YOUR_DIST_TYPE_HERE->new(
module => $modobj,
);
DESCRIPTION
"CPANPLUS::Dist" is a base class for "CPANPLUS::Dist::MM" and "CPANPLUS::Dist::Build". Developers of other "CPANPLUS::Dist::*" plugins
should look at "CPANPLUS::Dist::Base".
ACCESSORS
parent()
Returns the "CPANPLUS::Module" object that parented this object.
status()
Returns the "Object::Accessor" object that keeps the status for this module.
STATUS ACCESSORS
All accessors can be accessed as follows:
$deb->status->ACCESSOR
created()
Boolean indicating whether the dist was created successfully. Explicitly set to 0 when failed, so a value of "undef" may be
interpreted as "not yet attempted".
installed()
Boolean indicating whether the dist was installed successfully. Explicitly set to 0 when failed, so a value of "undef" may be
interpreted as "not yet attempted".
uninstalled()
Boolean indicating whether the dist was uninstalled successfully. Explicitly set to 0 when failed, so a value of "undef" may be
interpreted as "not yet attempted".
dist()
The location of the final distribution. This may be a file or directory, depending on how your distribution plug in of choice works.
This will be set upon a successful create.
$dist = CPANPLUS::Dist::YOUR_DIST_TYPE_HERE->new( module => MODOBJ );
Create a new "CPANPLUS::Dist::YOUR_DIST_TYPE_HERE" object based on the provided "MODOBJ".
*** DEPRECATED *** The optional argument "format" is used to indicate what type of dist you would like to create (like "CPANPLUS::Dist::MM"
or "CPANPLUS::Dist::Build" and so on ).
"CPANPLUS::Dist->new" is exclusively meant as a method to be inherited by "CPANPLUS::Dist::MM|Build".
Returns a "CPANPLUS::Dist::YOUR_DIST_TYPE_HERE" object on success and false on failure.
@dists = CPANPLUS::Dist->dist_types;
Returns a list of the CPANPLUS::Dist::* classes available
$bool = CPANPLUS::Dist->rescan_dist_types;
Rescans @INC for available dist types. Useful if you've installed new "CPANPLUS::Dist::*" classes and want to make them available to the
current process.
$bool = CPANPLUS::Dist->has_dist_type( $type )
Returns true if distribution type $type is loaded/supported.
$bool = $dist->prereq_satisfied( modobj => $modobj, version => $version_spec )
Returns true if this prereq is satisfied. Returns false if it's not. Also issues an error if it seems "unsatisfiable," i.e. if it can't
be found on CPAN or the latest CPAN version doesn't satisfy it.
$configure_requires = $dist->find_configure_requires( [file => /path/to/META.yml] )
Reads the configure_requires for this distribution from the META.yml or META.json file in the root directory and returns a hashref with
module names and versions required.
$bool = $dist->_resolve_prereqs( ... )
Makes sure prerequisites are resolved
format The dist class to use to make the prereqs
(ie. CPANPLUS::Dist::MM)
prereqs Hash of the prerequisite modules and their versions
target What to do with the prereqs.
create => Just build them
install => Install them
ignore => Ignore them
prereq_build If true, always build the prereqs even if already
resolved
verbose Be verbose
force Force the prereq to be built, even if already resolved
perl v5.14.2 2014-09-29 CPANPLUS::Dist(3perl)