Hi everyone,
I have a problem and I would be gratful if you can help.
I have set of folders with files in them. e.g. data1, data2, data3
and I have a json file with info ... looking like this
I want to rename my files to replace the data with their gender to some processing and back to the real name later on...
Do i need to convert the json file first? perl or awk?
or can data just be extracted (using awk?) and then folders changed based on that?
Hello all-
First post, so just to forewarn you: I know enough about Perl and the Terminal to get myself into trouble, not quite enough to always get out.
I'd like to know if it is possible to, from the command prompt, use a wild-card to declare the names of files for input and then use the... (1 Reply)
Hello experts,
This might prove to be a stupid question to some of you, but I have tried to tackle it in different ways. Being new to shell scripting, I am requesting your help in coming up with an elegant solution. I am using Korn shell.
We have a directory with file names with the pattern:... (2 Replies)
This is my first post so ... be gentle:)
Hello I have several folders that are backed up daily in following format:
/back_YY.MM.DD/backup1/*
........................./backup2/*
I looking a script to archive and rename all backup folders bazed on root folder... (8 Replies)
Hi
I have some files in directory and the names of files are like
jnhld_15233_2010-11-23
jnhld_15233_2007-10-01
jnhld_15233_2001-05-04
jnhld_15233_2011-11-11
jnhld_15233_2005-06-07
jnhld_15233_2000-04-01
..etc
How can i sort these files based on the date in the file name so that ... (4 Replies)
Hi All,
I have directories under
/development/arun/weekly/
20120421
20120414
.
.
.
.
I need to arrange these directories in descending order.
folder name with recent date will be on top and then others. (1 Reply)
Hi All,
I have a vexing issue with leading spaces in file names. Basically, we're moving tons of data from our ancient afp file share to Box.com and Box forbids leading spaces in files or folders. The HFS file system seems to be perfectly fine with this, but almost all other Unix file systems... (1 Reply)
Hello,
I am looking for a command line that can do some operations on two files that have the same names but in different folders.
for example if
folder A contains files 1.txt, 2.txt, 3.txt,..
folder B contains files 1.txt, 2.txt, 3.txt,..
If I would like to concatenate the two files... (6 Replies)
Output from zipdiff GNU EAR comparison tool produces output in html divided into three sections "Added, Removed, Changed". I want the output to be sorted by jar or war file.
<html>
<body>
<table>
<tr>
<td class="diffs" colspan="2">Added </td>
</tr>
<tr><td>
<ul>... (5 Replies)
Hi,
I have the following reports that get generated every 1 hour and this is my requirement:
1. 5 reports get generated every hour with the names "Report.Dddmmyy.Thhmiss.CTLR"
"Report.Dddmmyy.Thhmiss.ACCD"
"Report.Dddmmyy.Thhmiss.BCCD"
"Report.Dddmmyy.Thhmiss.CCCD"... (1 Reply)
Hi all,
I have a text file similar to this:
Text
More text
Etc
Stuff
That
Is
Needed
Etc
Etc
This contains over 70 entries and each entry has several lines of text below the name in square brackets. (5 Replies)
Discussion started by: Scally
5 Replies
LEARN ABOUT CENTOS
sfddiff
SFDDIFF(1) General Commands Manual SFDDIFF(1)NAME
sfddiff - compare two font files
SYNOPSIS
sfddiff [--help] [--ignorehints] [--ignorenames] [--ignoregpos] [--ignoregsub] [--ignorebitmaps] [--exact] [--warn] [--merge outfile]
[--usage] [--version] fontfile1 fontfile2
DESCRIPTION
The program sfddiff compares two font files, which may be in any format fontforge(1) can read. It will notice the following differences:
1) Characters are present in one font but not in the other.
2) Characters are present in both fonts but have different sets of outlines or references. The outlines may be compared so that only
exact matches are accepted, or so that a fuzzier match is used. Similarly references may need to match exactly, or may be matched
after an unlink.
This fuzzy comparison is useful when comparing truetype and postscript fonts, or when comparing a font with references to one with-
out.
3) The postscript hints or truetype instructions are different.
4) The font names (the truetype `name' table) differ.
5) The kerning (and other `gpos' information) differs.
6) The ligatures (and other `gsub' information) differ.
7) Any bitmap strikes present in one font but not in the other.
8) Any bitmap characters present in one strike of one font but in the equivalent strike of the other.
9) Any bitmap characters which differ.
OPTIONS --help Provide a description with a list of the available options.
--ignorehints
Suppress the reporting of hint/instruction differences.
--ignoregpos
Suppress the reporting of kerning (and other `gpos') differences.
--ignoregsub
Suppress the reporting of ligature (and other `gsub') differences.
--ignorenames
Suppress the reporting of name string differences.
--ignorebitmaps
Suppress the reporting of bitmap differences.
--exact
Require outlines to match exactly.
--warn Warn if the outlines/references are slightly different.
--merge outfile
Store a merged version of the two fonts into the specified output file. The merged data will be based on sfdfile1, as well as any
characters present in sfdfile2 but not in sfdfile1 will be added, and the outlines of sfdfile2 will be placed in the background.
Finally, for any characters with different outlines or references the background of the character will contain the outlines from
sfdfile2 (references will be unlinked into outlines and those outlines also will be added).
--usage
Display the usage description.
--version
Display the current version.
SEE ALSO fontforge(1)
The HTML version of the fontforge manual at:
http://fontforge.sourceforge.net/
AUTHOR
Copyright (C) 2000-2006 by George Williams (gww@silcom.com). Manual page heavily rewritten and modified to use standard -man(5) macros by
R.P.C. Rodgers (rodgers@nlm.nih.gov), 23 October 2002.
8 April 2006 SFDDIFF(1)