How to create imported files with illegal character filenames
We have mistakenly loaded up a lot of files in Final Cut Server 1.5 with filenames that have illegal or not recommended characters in them i.e.
10/10/08-Clip1.mov
FCSvr has created proxys etc but then given the asset a name with colons instead of slashes and can't connect to the original clip. i.e.
10:10:08-Clip1.mov
To compound matters, the clip has been saved using ascii representations for colons (%3A) i.e.
10%3A10%3A08-Clip1.mov
I've managed to access the database backup using pgAdmin and it looks like these entries are set in the tables pxentity and pxdmvaluestringother.
I'm quite familiar with SQL etc so can update the values to legal ones and then rename the files the same. Is there anything I should be aware of in doing this?
Obviously I'll make backups etc before doing it.
Many Thanks
Well:
I would say an easier approach would be to just rename the files at the file system and then re catalog them into FCSvr. I'd stay away from the database if you want to just make this change.
Hope this helps.
Nicholas Stokes
XPlatform Consulting
Similar Messages
-
How to create pdf files with text field data
how to create pdf files with text field data
That looks like it should work, but it doesn't.
I opened the PDF I had created from Word in Acrobat (X Pro). Went to File > Properties. Selected "Change Settings". I then enabled "Restrict editing...", set a password, set "Printing Allowed" to "none", "Changes Allowed" to "none", and ensured that "Enable copying of text..." was disabled.
I saved the PDF file, closed Acrobat, opened the PDF in Reader, and I was still able to select text and graphical objects.
I reopened the PDF in Acrobat, and the document summart still shows everything as allowed. When I click on "show details" (from File > Properties) it shows the correct settings.
Any ideas? -
How to create multiple files with Receiver File Adapter in SAP PI 7.31 Java Stack
Dear Friends,
I am using Sender JDBC Adapter and Receiver File Adapter in Integration Flow in SAP PI 7.3 EHP 1 SP08 Java Stack environment. The requirement is that we need to create multiple files based on the row count in jdbc resultset. If there are 5 rows in resultset, we need to create 5 XML files with one row elements in one file. Similarly if there are 10 rows, we need to create 10 XML files.
So how can we create multiple files in this scenario. I tried placing a for loop in the Java Mapping as below in the transform method:
DynamicConfiguration conf = arg0.getDynamicConfiguration();
StringBuffer sbFileData = new StringBuffer();
for (int i =0; i < record.size(); i++ {
. // Create XML for each row and Marshal the object into to the String Buffer
String strFileName = "DC_" + new SimpleDateFormat("ddMMyyyyHHmm").format(new java.util.Date())+"_"+i+".xml";
conf.put(KEY_FILENAME, strFileName);
arg1.getOutputPayload().getOutputStream().write(sbFileData.toString().getBytes("UTF-8"));
arg1.getOutputPayload().getOutputStream().flush();
So here I'm flushing the OutputStream for each record. But it's not creating the multiple file, instead it creates only one file will all record XMLs appended to each other.
Please let me know if I missing something or need to do some thing else.
Regards,
Shreyansh ShahHi
You can easily achieve this using graphical mapping. Create your target message type like below
MT_Target
Details 0 to 1
Data 0 to 1
Source sample structure
<resultset>
<row>
<column-name>column-value</ column-name>
</row>
Then do the message mapping like below
map <row> with MT_Target
contant ----> Deatils
column-name ------>Data
In the signature tab of message mapping, choose the occurrence of your target message type as
0 to unbounded.
This will generate multiple files from multiple rows.
Let me know if you have any doubt. -
How to Create runtime files with Autorware 7
Hi, Need to know how to create a runtime file file (.exe) in
Authorware 7. I tried to create one with the publish functionality
in Authorware. This only creates packages (aam,a7r or a web
package), not a standalone package (you need authorware installed
to run the application). That's not what I want. I need to create a
runtime file that everyone can use. How do I do that?
Maybe this will work; Go to File - Publish - Package.. Then
you can choose to publish for Windows 98, NT, XP. When I tried to
run the package it says: "This application has failed to start
because js32.dll was not found. Re-installing the application may
fix the problem". Don't understand it?? Maybe because I'm using Win
Vista 64bits?
Thanks in advance,
//daniel"md7dani" <[email protected]> wrote in
message
news:fut60k$l4l$[email protected]..
> Hi, Need to know how to create an executable file (.exe)
in Authorware 7.
> I
> tried to create one with the publish functionality in
Authorware. This
> only
> creates packages (aam,a7r or a web package), not a
standalone package (you
> need
> authorware installed to run the application). That's not
what I want. I
> need to
> create an executable file that everyone can use. How do
I do that?
Check the option that says "With runtime for (OS List)"
HTH;
Amy -
Can not delete file with illegal character
have a file with name of e}ail.txt
can not delete it. Tried e*.txt, did not work.
removed everything from the directory , renamed the directory to badDirectory , tried rm badDirectory /s /q
and that didn't work.
dir /X did not report an 8.3 file name.
can not delete file or directory from FileManager either.
went to a Linux box and did an smbfs mount. Still can not delete file.
So, how does one delete a file with a openface curly bracket in the name?
TechNetodder and odder:
R:\rem>move badDirectory \junk\
1 dir(s) moved.
R:\rem>cd \junk
R:\junk>rd \\.\r:\junk\badDirectory
The directory is not empty.
R:\junk>rd \\.\r:\junk\badDirectory /s /q
\\.\r:\junk\badDirectory\e}ail.txt - The system cannot find the file specified.
\\.\r:\junk\badDirectory\email.txt.bak - The system cannot find the file specified.
R:\junk>dir badDirectory
in drive R is f drive
Serial Number is 58E7-B426
Directory of R:\junk\badDirectory
12/17/2014 02:41 PM <dir> .
12/17/2014 02:41 PM <dir> ..
08/30/2012 08:54 AM 68,719,477,275 e}ail.txt
10/05/2011 11:11 AM 488 email.txt.bak
2 File(s) 68,719,477,763 bytes
2 Dir(s) 2,236,207,104 bytes free
</dir></dir>
The file e}mail.txt is not nearly that large, more like the size of the bak file. And when I try to use character completion type e} I get type e}badDirectory
TechNet -
How to create flat file with fixed lenght records
I need help to export an Oracle table to a flat file with fixed lenght and without columns separator.
the fixed length is the more important demand.
My table have 50 columns with varchar, date and number .
Date and number columns may be empty, null o with values.
Thanks a lot for any help.
[email protected]Hi,
You can use this trick:
SQL>desc t
Name Null? Type
NAME VARCHAR2(20)
SEX VARCHAR2(1)
SQL>SELECT LENGTH(LPAD(NAME,20,' ')||LPAD(SEX,1,' ')), LPAD(NAME,20,' ')||LPAD(SEX,1,' ') FROM T;
LENGTH(LPAD(NAME,20,'')||LPAD(SEX,1,'')) LPAD(NAME,20,'')||LPA
21 aF
21 BM
21 CF
21 DM
4 rows selected.
SQL>SELECT * FROM t;
NAME S
a F
B M
C F
D M
4 rows selected.Regards -
How to Create XML file with SAX parser instead of DOM parser
HI ALL,
I am in need of creating an XML file by SAX parser ONLY. As far as my knowledge goes, we can use DOM for such purpose(by using createElement, creatAttribute ...). Can anyone tell me, is there any way to create an XML file using SAX Parser only. I mean, I just want to know whether SAX provides any sort of api for Creatign an element, attribute etc. I know that SAX is for event based parsing. But my requirement is to create an XML file from using only SAX parser.
Any help would be appreciated
Thanx in advance
KaushikHi,
You must write a XMLWriter class yourself, and that Class extends DefaultHandle ....., the overwrite the startElement(url, localName, qName, attributeList), startDocument(), endElement().....and so on.
in startElement write your own logic about how to create a new element and how to create a Attribute list
in startDocument write your own logic about how to build a document and encodeType, dtd....
By using:
XMLWriter out = new XMLWriter()
out.startDocument();
Attribute attr1 = new Atribute();
attr1.add("name", "value");
out.startElement("","","Element1", attr1);
Attribute attr2 = new Atribute();
attr2.add("name", "value");
out.startElement("","","Element2", attr2);
out.endElement("","","Element2");
out.endElement("","","Element1");
out.endDocument(); -
Hidden folders and files with random character filenames
You could try media info to see if that tells you any different - be sure to decline the stupid addons included
https://mediaarea.net/en/MediaInfoRecently I noticed several hidden folders with random character names and each of those folders has 5 files in them with randomly named files. These are tiff, png, bmp, and docx files. I copied the folder to virtual machine removed from the network to inspect them, but they can not be opened as it says files appears damaged or corrupt. They appear to be benign as I ran two full system virus scans (including malwarebytes), but really bothers me how they got there in the first place. The owner says local administrators. They were found on the root of the C: drive and in documents, pictures, music, and video of the user profile. I attached a picture to help understand what they look. They are different than other examples I have seen when I attempted to google my answer. Thanks in advance!
This topic first appeared in the Spiceworks Community -
How can I automatically create the files with serie-name?
Hello, Everyone,
I have a question again.
How can I automatically create the file with a serie-filename?
e.g. I have a program, it will repeat 5 times, and every time it will create a bmp-file, and I want to let this program automatically save these 5 files with a Serie-filename like File001.bmp, File002.bmp, .... File005.bmp.
How can I do it?`
Thanks a lot.
Regarts,
JohnnyHi Deepu,
one more comment
The format code should be "%04d" to get leading zeros and have filenames with same length...
Best regards,
GerdW
CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
Kudos are welcome -
How do I move a picture from one pdf-file to another, already created pdf-file, with adobe reader?
Reader doesn't have editing capabilities.
-
How to create a table with datatype blob and insert a pdf file (ravi)
how to create a table with datatype blob and insert a pdf file,
give me the explain asap
1.create the table?
2.insert the pdffiles into tables?
3.how to view the files?
Thanks & Regards
ravikumar.k
Edited by: 895044 on Dec 5, 2011 2:55 AM895044 wrote:
how to create a table with datatype blob and insert a pdf file,
give me the explain asapPerhaps you should read...
{message:id=9360002}
especially point 2.
We're not just sitting here waiting to answer your question as quickly as possible for you. -
My HDD crashed and I had to reinstall my boot and programmes on a new HDD. I managed to recover my library.itl. How can i import it with the new version of itunes? When i try imprt playlist, it replies that it is not a validly exported file.
It should be like the very first time you synced your phone with I-Tunes. It will notice you haven't synced before and just copy everything from your phone into I-Tunes. It shouldn't delete anything from the phone, at least it never has for me. It just puts a copy of everything into I-Tunes and even if you delete an app for example from your phone and you decide you want it back later, you can just go back into I-Tunes and copy it back over. Hope this helps.
-
How to import flat file with date in filename on a regular basis
Hi,
Using OWB 11gR1
I have a file that will be delivered to an FTP each night with the date in the filename having the form YYYYMMDD-FILE.txt (ex: 20100326-FILE.txt) that I want to import to an external table.
Now I've set up the import to the external table but am only able to import files that I specify the name for exactly. I've tried pointing to filenames such as "*-FILE.txt" and "%-FILE.txt" but that only results in errors.
It must be possible to automatically import files with different filenames but the same structure, or isn't it? Could anyone help me solve this it'd be greatly appreciated.
Thank you in advance.Hi
For dynamic files you can;
1. either do the DDL on the external table to point to the file with the changing name
2Copy the file to a fixed name before using the external table/maps
3. Use the preprocessor to cat/pipe these files for the external table. See the post here http://blogs.oracle.com/warehousebuilder/2009/06/file_staging_using_external_table_preprocessor.html it shows using gunzip but could simply be doing 'cat' on a bunch of files to standard output
Cheers
David -
How to import files with static variables into a block with methods?
i have a problem. is it possible to import files with static variables into tags like
<%!
//here i want to import a file named settings.inc
//whitch is used to set jdbc constants like url,driver,...
private void method() {
private void method2() {
%>
<%@include file="xy"%>//dosn�t work above
//only in <%%>tagThis should be done using either the Properties class or ResourceBundle. Ex.
<%
ResourceBundle resBun = ResourceBundle.getBundle(String resource);
String username = resBun.getString("username");
String password = resBun.getString("password");
// etc
%> -
How to create txt file in utf-8?
Hi,
if i create a txt file using vb in fdm, it is created with the ansi encoding. Is there any option how to create this file in utf-8?
ThxForms6i uses Oracle 8.0.6 client libraries. MetaLink Note 207303.1 lists supported client/server configurations, and the last database version supported with those libraries is Oracle 9.2. The only exception is made for e-Business Suite (Oracle Applications). Therefore, you configuration is not supported.
Anyway, Oracle 8.0.6 does not support AL32UTF8 well. You should select UTF8 as the database character set (not national character set!). You need to select a check box on DBCA interface (possibly unavailable in fast/default installation path) which allows you to see non-recommended character sets.
-- Sergiusz
Maybe you are looking for
-
My 4s ios 7.1 in wifi not worked
i have used 4s my system is ios 7.1 wifi is darkness and i not turn on so please give me helps?? thank you
-
Cant click in a serten spot on my screen
Some time when i have been working on my iMac for a few minuets, part of the left bottom of the screen is a spot that sometimes i cant click on but when i drag the safari browser to the right a bit then i can click on e.g. a button. right now its hap
-
The cursor is flashing on everything now.. Boxes to fill out, bookmarks, etc. Won't hold whatever has been chosen
-
Upgrading from 10.6.8 to Maverick
I get this message "This software is not supported on your system" when I try upgrading from 10.6.8 to Maverick Hardware Overview: Model Name: iMac Model Identifier: iMac7,1 Processor Name: Intel Core 2 Duo Processor Speed: 2 GHz
-
Emails in process on macbookair appearing in iMac mail
Using gmail, when drafting emails on macbook air (OSX 10.7.5 and mail version 5.3) some types of spell corrections, either automatic or those I make manually, will cause the email, to appear in the inbox on my iMac 6.1 (OSX 10.6.8 and mail version 4