Hi, I'm new here an dlearning a lot from this forum. i didnt find any solution for this in the forum.
I have already checked in folders in subversion named
HTT01,... HTT21.. and have files in each folder like below:
HTT01/HTT01_00000.hex
HTT01/HTT01_00000_fb_result.hex... (2 Replies)
Hi guys:
I've got this problem, I want to move a bunch of files to 3 different folders, without any specific order, and I'm trying to automatize it with a shell script.
I'm a newbie at shell scripting so this is my first try:
#!/bin/bash
COUNTER=`ls -1 | wc -l`
while
do
ARRAY=(... (11 Replies)
Hi Friends,
Below is my requirement and i am not clear how to approach this issue in unix programming.
I have a folder with 2500 files. The files are in below format.
1234_name1.txt
1234_name123.txt
4567_name1.txt
4567_name123.txt
and i need a program which will read each file from this... (5 Replies)
Hello,
I need a simple script to Auto-detect new files and folders in the directory.
And then I need to zip the new files and bzip2 new folders and move them out of that folder where I am detecting changes to the other folder.
Remember, I need simple one. If anyone could do it fast, I may... (1 Reply)
Hi,
I have a sub directory with a number of files and folders. What i want is a subdirectory with just folders and not files for cleanliness sake. So I want to move the files into the new folder but keep the folders in the same place. Move all files (but not folders) to new folder.
I am... (4 Replies)
I have 20 Servers (They are Windows 2003) that I remote every day using names or IP address and type in my username & Password then copy folders manually to my local computer.
I'm wondering if i can just run script(s) from my local computer to do this job without using FTP(because of security... (5 Replies)
Greetings!
I'm looking for starting information for a shell script. Here's my scenario:
I have multiple folders(100) for example:
/www/test/applications/app1/logs
/www/test/applications/app2/logs
Within these folders there are log files files that need to be deleted after a month.
... (3 Replies)
How do I move all folders and its contents from a directory A to another directory B, skipping all files in Directory A ?
---------- Post updated at 12:53 PM ---------- Previous update was at 12:42 PM ----------
Ok. Got it.
mv /A/*/ /B/ (1 Reply)
Dear Experts
my scenario is as follows...
I have one source folder "Source" and 2 target folders "Target_123456" & "Target_789101". I have 2 series of files. 123456 series and 789101 series. Each series has got 3 types of fiels "Debit", "Refund", "Claims".
All files are getting... (17 Replies)
Discussion started by: phani333
17 Replies
LEARN ABOUT CENTOS
publican::xmlclean
Publican::XmlClean(3) User Contributed Perl Documentation Publican::XmlClean(3)NAME
Publican::XmlClean - A module to reformat XML to Publican standards
VERSION
This document describes Publican::XmlClean version $VERSION
SYNOPSIS
use Publican::XmlClean;
my $cleaner = Publican::XmlClean->new( { clean_id => 1 } );
foreach my $xml_file ( sort(@xml_files) ) {
$cleaner->process_file( { file => $xml_file, out_file => $xml_file } );
}
DESCRIPTION
Publican::XmlClean tidies XML formatting and filters structure based on input rules.
INTERFACE
new
Create a new Publican::XmlClean object.
print_known_tags
Print a list of tags that have had their output QA'd.
prune_xml($node)
Remove unwanted nodes. i.e. 'profile' in DocBook speak.
Clean_ID
Rename ID's and update xrefs.
If this node has a title as a child set it's ID else remove the ID
print_xml
Print out utf8 XML files
Have to output xml/DTD header
my_as_XML
Traverse tree and output xml as text. Overrides traverse ... evil stuff.
validate_tables
Ensure Tables comply to requirements not enforceable in XML validation.
1. tgroup attribute cols must match the number of entries in every row.
sort_glossaries
Sort glosslists
process_file
Create XML::TreeBuilder object and perform operations.
set_unique_ids
Set unique ids for every nodes which have id
create_db
Create a database to track the max unique id
DIAGNOSTICS
"unknown args %s"
All subs with named parameters will return this error when unexpected named arguments are provided.
"%s is a required argument"
Any sub with a mandatory parameter will return this error if the parameter is undef.
"Could not open %s for output!"
The named file could not be opened.
"Can't calculate image size of %s"
Images are automatically scaled if thy are to wide, this check could not be performed due to either access permissions or file
weirdness.
CONFIGURATION AND ENVIRONMENT
Publican::XmlClean requires no configuration files or environment variables.
DEPENDENCIES
Carp version XML::TreeBuilder Text::Wrap Config::Simple Publican File::Path Term::ANSIColor Cwd
INCOMPATIBILITIES
None reported.
BUGS AND LIMITATIONS
No bugs have been reported.
Please report any bugs or feature requests to "publican-list@redhat.com", or through the web interface at
<https://bugzilla.redhat.com/bugzilla/enter_bug.cgi?product=Publican&component=publican>.
AUTHOR
Jeff Fearn "<jfearn@redhat.com>"
perl v5.16.3 2014-06-10 Publican::XmlClean(3)