In “Source”¯ directory there is a lot's of files, with extensions (doc, docx , ppt, xls,...).
In “Destination”¯ directory only pdf version of (doc, docx) files that exist in source stored.
Now I want to create script that use “diff”¯ command check “source”¯ and get list of only (doc, docx) files after that look for related pdf file in “Destination”¯ if pdf version of (doc, docx) not exist in “destination”¯ store list of them on a file.
E.g.
1-Source
2-Destination
Expected result after run script is:
Here is my script
Hello,
I am looking for a script, or pointer to an approach to creating a script, that will compare two versions of a codebase and output a third directory structure containing only the files that differ between the two. I use diff quite often, but it will only create patch files (AFAIK). Does... (3 Replies)
Hi
I am Trying to Write a script that can goto 4 different directorys on the server & remove the Files older then 30 days ??
/logs
logs1 logs2 logs3
Now I need to remove files under
logs1 logs2 logs3 which are older then 30 days whose name stat 'sit' , 'mig','bld' .
in... (3 Replies)
How to compare new version exist of two path directory.
for e.g., path1 - /user/path/test/
path2 - /user/path/score/
If its exist new version then copy that new version into the first path directroy. How will do this. (3 Replies)
Hello to all,
I would like to search sequences of bytes inside big binary file.
The bin file contains blocks of information, each block begins is estructured as follow:
1- Each block begins with the hex 32 (1 byte) and ends with FF. After the FF of the last block, it follows 33.
2- Next... (59 Replies)
Hi, I have 2 different values in the same column and two different values in other column
Query 1
ins name value
1 Test 12345
1 TestV1 12/10/2014
8 Test 85435
8 TestV1 11/11/2005
9 Test 42232
9 TestV1 19/10/2000
6 Test 54321... (6 Replies)
Given this file (I separated them in block to make my explanation clearer):
92157768877;Sof_deme_Fort_Email_am_%yyyy%%mm%%dd%;EMAIL;20/02/2015;1;0;0
92157768877;Sof_trav_Fort_Email_am_%yyyy%%mm%%dd%;EMAIL;20/02/2015;1;0;0
91231838895;Sof_deme_faible_Email_am;EMAIL;26/01/2015;1 0;0... (1 Reply)
hi, I need to know if a specific directory exists in a folder named after the date of yesterday (02/06/2015)
The problem is simple but not how to do it. :confused:i= date -d "yesterday" '%Y-%m-%d' <- the format of directory is 2015-06-02
if in /var/logroot/index exist directory whit... (4 Replies)
How to get a file 'zlib.h' in an entire directory with an excluded directory specified lives under that starting directory by using find command, as it failed on:
$ find . -name 'zlib.h' -a -ipath 'CHROME.TMP' -prune -o -print
it'll just list entirely up (2 Replies)
Discussion started by: abdulbadii
2 Replies
LEARN ABOUT SUSE
ooconvert
ooconvert(1) User Commands ooconvert(1)Name
ooconvert - Commandline Document Converter Using OpenOffice.org
SYNOPSIS
ooconvert [--help] [--force] input output
DESCRIPTION
This tool converts documents between various formats on the commandline. It uses OpenOffice.org that guarantees the quality of available
import and export filters.
This tool tries to start OpenOffice.org in the server mode on backgroud. It does not work if the OpenOffice.org application has already
been running. Also it slows down the conversion a lot. We hope to reduce these limitations in the further versions.
OPTIONS
input Input file. The filename suffix must be one of the currently supported file formats, see below.
output Output file. The filename suffix defines the output file format. It must be one from the table below. An existing file can be over-
written by the --force option.
--help Print help and exit.
--force
Force an already existing output file to be replaced.
SUPPORTED FILE FORMATS
The current version of this tool does not read the list of available input and output filters directly from OpenOffice.org. The list of
supported file formats is hardcoded and thus limited to:
doc Microsoft Word 97/2000/XP
docx MS Word 2007 XML
dot Microsoft Word 97/2000/XP Template
dotx MS Word 2007 XML Template
html HyperText Markup Language (Web Page)
odt ODF Text Document
ods ODF Spreadsheet
odp ODF Presentation
ott ODF Text Document Template
ots ODF Spreadsheet Template
otp ODF Presentation Template
pdf Portable Document Format
ppt Microsoft PowerPoint 97/2000/XP
pptx Microsoft PowerPoint 2007 XML
pot Microsoft PowerPoint 97/2000/XP Template
potx Microsoft PowerPoint 2007 XML Template
rtf Rich Text Format
stc OpenOffice.org 1.0 Spreadsheet Template
sti OpenOffice.org 1.0 Presentation Template
stw OpenOffice.org 1.0 Text Document Template
sxc OpenOffice.org 1.0 Spreadsheet
sxi OpenOffice.org 1.0 Presentation
sxw OpenOffice.org 1.0 Text Document
swf Macromedia Flash
txt Plain Text
xls Microsoft Excel 97/2000/XP
xlsx Microsoft Excel 2007 XML
xlt Microsoft Excel 97/2000/XP Template
xltx Microsoft Excel 2007 XML Template
TROUBLESHOOTING PROBLEMS
See http://en.opensuse.org/Bugs:OOo for more details about how to report bugs in OpenOffice.org.
AUTHOR
This manual page was created by Petr Mladek <petr.mladek@novell.com>.
OpenOffice.org Converter 2009-02-09 ooconvert(1)