32-digit file names
A few months ago, iWeb saved a page as
"3FB47E52-CFED-4B53-BA68-C76A1D0F4BBC"
That was NOT the name I gave it.
When I send the link to some folks, they say they have problems with it.
(The latest page I did was NOT saved as a 32-digit name).
I know I could change the name via FTP, but some of the links---- I believe-- to related pages would be invalid.
How can I change this gobbly-dee-gook? Can I get iWeb back on the right track with this particular page?
Message was edited by: swanker
One cause of such file names is the use of non-ascii characters (e.g. accented letters, curly quotes, etc) in page names. If you have them, try getting rid of them. But in the case of blogs I think there is nothing you do.
The problem with the link may be cause by it being broken in the email, with a space inserted by the email app. Sometimes you can avoid that by putting the link inside < and > .
I believe iWeb no longer creates file names like that.
Similar Messages
-
Need file name to retain two digit MM_DD_YYYY_HH_MM_SS_SSS
I have a variable to use for the file name which has this expression which is dropping the 0's. ie = 05 for the day is 5.
(DT_WSTR,30)month(GETDATE()) + "_" + (DT_WSTR,30)day(GETDATE())+ "_" + (DT_WSTR,30)year(GETDATE()) + "_" + RIGHT("0" + (DT_WSTR,2)DATEPART("hh", GETDATE()), 2) + "_"
+ RIGHT("0" + (DT_WSTR,2)DATEPART("mi", GETDATE()), 2) + "_"
+ RIGHT("0" + (DT_WSTR,2)DATEPART("ss", GETDATE()), 2) +
".csv"RIGHT("0" +(DT_WSTR,30)month(GETDATE()),2)+ "_" + RIGHT("0" + (DT_WSTR,30)day(GETDATE()),2) + "_" + (DT_WSTR,30)year(GETDATE()) + "_" + RIGHT("0" + (DT_WSTR,2)DATEPART("hh", GETDATE()), 2) + "_"
+ RIGHT("0" + (DT_WSTR,2)DATEPART("mi", GETDATE()), 2) + "_"
+ RIGHT("0" + (DT_WSTR,2)DATEPART("ss", GETDATE()), 2) +
".csv"
Fixed for you.
You forgot the
RIGHT("0" ...,2) part.
Arthur
MyBlog
Twitter -
Identifying text file names and importing on single Excel sheet
Hey!
Does anybody can help me with Excel VBA macro code in order to import data from text files into single Excel spread sheet? I want to create User Form where user can select start and end date of interest and macro code will import
bunch of text files depending on user demands...
My text files are named: 20130619004948DataLog.txt (meaning: yyyy mm dd hh mm ss). Text file contains recordings for each 15 seconds... It would be great to omit time tail (meaning that user can only specify date). Text files for one day of interest (I have
text files covering whole year):
20130619004948DataLog.txt
20130619014948DataLog.txt
20130619024948DataLog.txt
20130619034948DataLog.txt
20130619044948DataLog.txt
20130619054948DataLog.txt
20130619064948DataLog.txt
20130619074948DataLog.txt
20130619084948DataLog.txt
20130619094948DataLog.txt
20130619104948DataLog.txt
20130619114948DataLog.txt
20130619124948DataLog.txt
20130619134948DataLog.txt
20130619144948DataLog.txt
20130619154948DataLog.txt
20130619164948DataLog.txt
20130619174948DataLog.txt
20130619184948DataLog.txt
20130619194948DataLog.txt
20130619204948DataLog.txt
20130619214948DataLog.txt
20130619224948DataLog.txt
20130619234948DataLog.txt
Option Explicit
Sub SearchFiles()
Dim file As Variant
Dim x As Integer
Dim myWB As Workbook
Dim WB As Workbook
Dim newWS As Worksheet
Dim L As Long, t As Long, i As Long
Dim StartDateL As String
Dim EndDateL As String
Dim bool As Boolean
bool = False ' to check if other versions are present
StartDateL = Format(Calendar1, "yyyymmdd")
EndDateL = Format(Calendar2, "yyyymmdd")
' I am using Userform asking user to select the date and time range of interet,
' However, I want to use only the date to filter the files having the name with that particular date
file = Dir("c:\myfolder\") ' folder with all text files
' I need assistance with the following part:
'1) How to filter and select the files between StartDateL and EndDateL_
'(including files with that dates as well)?
While (file <> "")
If InStr(file, StartDateL) > 0 Then 'Not sure if the statements inside parenthesis is correct
bool = True
GoTo Line1:
End If
file = Dir
Wend
Line1:
If Not bool Then
file = "c:\myfolder\20130115033100DataLog.txt" 'Just for a test that the code works as intended
End If
'This part for the selected text files to be loaded on a single Excel Sheet.
Set myWB = ThisWorkbook
Set newWS = Sheets(1)
L = myWB.Sheets(1).Cells(Rows.Count, "A").End(xlUp).Row
t = 1
For x = 1 To UBound(file)
Workbooks.OpenText Filename:=file(x), DataType:=xlDelimited, Tab:=True, Semicolon:=True, Space:=False, Comma:=False
Set WB = ActiveWorkbook
WB.Sheets(1).UsedRange.Copy newWS.Cells(t, 2)
t = myWB.Sheets(1).Cells(Rows.Count, "B").End(xlUp).Row + 1
WB.Close False
Next
myWB.Sheets(1).Columns(1).Delete
Application.ScreenUpdating = False
Rows("1:1").Insert Shift:=xlDown, CopyOrigin:=xlFormatFromLeftOrAbove
End Sub- Make a new Excel file
- Open the VBA editor
- Add a Userform
- Place 2 text boxes and 1 command button on that form
- Paste all code below into the code module of the form
- Download this file:
https://dl.dropboxusercontent.com/u/35239054/FileSearch.cls
- In the VBA editor press CTRL-M and import that file
- Save the Excel file in the directory that contain your text files
- Run the form
You can format the columns of the sheet as you like, e.g. column E:H should be a number with 5 decimal places. The top row can contain some headings. My code did not affect the formatting or the headings.
Andreas.
Option Explicit
Private Sub UserForm_Initialize()
'Just a sample
Me.TextBox1.Value = FormatDateTime(Now, vbGeneralDate)
Me.TextBox2.Value = FormatDateTime(Now, vbShortDate)
End Sub
Private Sub CommandButton1_Click()
Dim StartDate As Date, EndDate As Date
Dim FS As New FileSearch
Dim R As Range
Dim ThisFile As Variant
Dim ThisDate As Date
Dim Data As Variant
Dim Count As Long
'Be sure we have 2 dates
If Not IsDate(Me.TextBox1.Value) Then
Me.TextBox1.SetFocus
MsgBox "No start date"
Exit Sub
End If
If Not IsDate(Me.TextBox2.Value) Then
Me.TextBox2.SetFocus
MsgBox "No end date"
Exit Sub
End If
'Convert to real dates
StartDate = CDate(Me.TextBox1.Value)
EndDate = CDate(Me.TextBox2.Value)
'Time part given?
If Fix(EndDate) = EndDate Then
'No include all files for this day
EndDate = EndDate + TimeSerial(23, 59, 59)
End If
'Correct order?
If StartDate > EndDate Then
ThisDate = EndDate
EndDate = StartDate
StartDate = ThisDate
End If
With FS
'Same path as our file
.LookIn = ThisWorkbook.Path
.FileName = "*DataLog.txt"
'Search all files sort by file name
If .Execute(msoSortByFileName, msoSortOrderAscending) = 0 Then
MsgBox "No data files found in " & .LookIn
Exit Sub
End If
'Clear previous data
Set R = Range("A2").CurrentRegion
If R.Row < 2 Then Set R = R.Offset(1)
R.ClearContents
'Show the user that we are working
Application.Cursor = xlWait
DoEvents
For Each ThisFile In .FoundFiles
'Get the date from the file name
ThisDate = Filename2Date(ThisFile)
'Between our dates?
If (ThisDate >= StartDate) And (ThisDate <= EndDate) Then
'Import at the end of the data
Set R = Range("A" & Rows.Count).End(xlUp).Offset(1)
Data = ReadCSV(ThisFile)
R.Resize(UBound(Data) + 1, UBound(Data, 2) + 1) = Data
Count = Count + 1
End If
Next
End With
'Done
Application.Cursor = xlDefault
If Count = 0 Then
MsgBox "No files match your dates"
Else
MsgBox Count & " files imported"
'Hide the form
Me.Hide
End If
End Sub
Private Function Filename2Date(ByVal Fullname As String) As Date
'Convert e.g "C:\20130601142648DataLog.txt" to the date "01.06.2013 14:26:48"
Dim i As Long, j As Long
i = InStrRev(Fullname, "\")
If i > 0 Then Fullname = Mid(Fullname, i + 1)
Fullname = JustNumbers(Fullname)
If Len(Fullname) <> 14 Then Exit Function
Filename2Date = _
DateSerial(Mid(Fullname, 1, 4), Mid(Fullname, 5, 2), Mid(Fullname, 7, 2)) + _
TimeSerial(Mid(Fullname, 9, 2), Mid(Fullname, 11, 2), Mid(Fullname, 13, 2))
End Function
Private Function JustNumbers(ByVal What As String) As String
'Return only numbers from What (by Rick Rothstein)
Dim i As Long, j As Long, Digit As String
For i = 1 To Len(What)
Digit = Mid$(What, i, 1)
If Digit Like "#" Then
j = j + 1
Mid$(What, j, 1) = Digit
End If
Next
JustNumbers = Left$(What, j)
End Function
Private Function ReadCSV(ByVal Fullname As String) As Variant
'Read a CSV file into an array
Const LDelim = vbCrLf 'Line delimiter
Const FDelim = ";" 'Field delimiter
Dim hFile As Integer
Dim Buffer As String
Dim Lines, Line, Data
Dim i As Long, j As Long
'Be sure the file exists
If Dir(Fullname) = "" Then Exit Function
'Open and read all data
hFile = FreeFile
Open Fullname For Binary Access Read As #hFile
Buffer = Space(LOF(hFile))
Get #hFile, , Buffer
Close #hFile
'Split into lines
Lines = Split(Buffer, LDelim)
'Split the first line and prepare the output
'Note: I assume that all lines have the same number of fields
Line = Split(Lines(0), FDelim)
ReDim Data(0 To UBound(Lines), 0 To UBound(Line))
For i = 0 To UBound(Lines)
Line = Split(Lines(i), FDelim)
For j = 0 To UBound(Line)
'Parse the fields
If IsDate(Line(j)) Then
Data(i, j) = CDate(Line(j))
ElseIf IsNumeric(Line(j)) Then
Data(i, j) = CDbl(Line(j))
Else
Data(i, j) = Line(j)
End If
Next
Next
ReadCSV = Data
End Function -
Consolidate Problem. Copying files failed. The File name was invalid.
Hi to everyone,
My system is 10.5.8, iTunes 9.2.1 (4)
I tried to consolidate my iTunes library to an external HD. After about 100GB of copied music, I got the message : Copying files failed. The File name was invalid.
Now everytime I try again to consolidate, I get immediately this message. I am looking everywhere for a solution, and I only find the same problem for Windows iTunes users.
Actually I found very useful this thread:
http://discussions.apple.com/thread.jspa?threadID=1708372,
which talks about with which order iTunes consolidates the media, so by digging a little in the folders to find which track has the problem and make the fix. It says that consolidate start copy the files by the date added order. So I can go in my new iTunes media folder and find the latest added track, then go back in iTunes, sort by date added the songs and locate the next song, to make the fix. However in my case, all previous and next songs (by date added), have been copied in the new locations.
I am stuck. I have a remaining 300GB of music to consolidate and dont know how to proceed.
Any help would be much appreciated..Finaly, I managed to solve it by myself...,
following the help I found from the post of the thread I mentioned on my question...
What was the problem that made things more difficult in my case, is that a big amount of songs have been added at the same time, with just a few seconds time distance. So it was tougher to locate what was the last imported song, and where iTunes consolidation had stopped. Actually I had groups of about 100 songs with the same timestamp of date added and the consolidation was following the rule of the "date added" but not exactly with the order the songs was showing in the iTuned library. So I started checking all the songs very close to the last added in the media folder one by one with the "show in finder" command, and then I managed to found what was the one with the problem.
Regarding the problematic file, that was a midi file that had been imported in my iTunes.
I hope this will help anyone else that might have the same problem as me in the future. -
How to change the file name of pdf file in html page?
Hi,
Actually my requirement is to upload 50 PDF files containing javascript in each file into flex page with the help of one html page.
i did the the javascript part by using batch processing.
now i want to call those pdf files one after another without changing the file name in html page
the code written in html page is
<html>
<body>
<object id="PDFObj"
data="http:\\localhost\pdf\20090807 - Batch 630.pdf"
type="application/pdf"
width="100%"
height="100%">
</object>
</body>
</html>
So every time i have to change that file name to acess another file.
Is there is any other way to sort this problem????
Plz anyone help me to sort out this problem with some code or some example.I once had a similar task for creating a webpage that I only use on my computer--a webpage that accesses PDF's and SWF's font previews from a list of fonts as "a href's". What you must do is utilize the power of the command line, whether on a Mac on a PC or on Linux, Linux being the most powerful (although Mac IS Unix). You must utilize variables, variable replacement, and then a command to print out the results of a "for" or "while" loop to a text file which will be your HTML file with each individual link automatically built into the HTML code. You will have a list of 50 links. If you are simply looking for a GOOGLE type functionality where you click on "Next" and "Previous" you will have to dig deeper into variable replacement--this I don't know how to do yet but there are books for command-line shell interpreters. One shell interpreter is called "bash" (born-again shell) and there is a book on the market which gives a detailed example of how to replace variables in a shell script. Again, I don't know how it works. I will try to learn this at a later time when I am more seasoned with the basics of shell scripting.
-
File name in FCC receiver adapter
How to do this ?
The filename will have the following format:
AAAAAA_BBBB_CCCCCCCC_DDDDDD
Where: AAAAAA First 6 digits of first field
BBBB 4 digit Company Code second field
CCCCCCCC Current system date in YYYYMMDD format
DDDDDD Current system time in HHMMSS format.If you go with Variable substitution, certain things are not possible such as "AAAAAA First 6 digits of first field".
However below wiki covers all the possibilities.. please check..
Dynamic file name and directory in Receiver File Adapter - summary of possibilities - Process Integration - SCN Wiki -
Change KM Transport file name ( .kmc).. rename
Hi all,
In KM transport, while exporting the package... content administration -> km content -> transport -> export
a) First we will give the transport package name add the KM files.
b) Then will go to pending exports from the context menu of the transport package we will select start export.
c) next step it will give the store path of the transport package and file name ( i.e. xxx.KMC ).
now the issue is... This both stored path and file name are read only. the ".kmc" file is the id which is a xx digit numeric number.
Our client wants to change the name of this file name (.kmc) to his own naming convension for easy use and better understanding.
what needs to be done for this???
Thanks,
PradeePPradeep,
The name of the archive file is composed of a technical ID and the ending .kmc
<technical ID>.kmc
but if you are looking at changing the technical ID, I dont think, SAP recommends doing that. You can have a look at the 3rd point in this help document..
http://help.sap.com/saphelp_nw70/helpdata/en/46/77da3bb8036ef0e10000000a1553f6/content.htm
Good Luck!
Sandeep Tudumu -
Cannot duplicate event due to same file name
I'm trying to archive some video projects my boss has made using Final Cut Pro X 10.0.7 on OS X 10.7.5. The problem I'm having is that I cannot "Duplicate Project + Used Clips" like I have done in the past because this project uses clips from three different events, and each of these events contains files that happen to have the same names as files in the other events.
For example:
Event A
- 00000-1.m4v
- 00000-2.m4v
- 00000-3.m4v
Event B
- 00000-1.m4v
Event C
- 00000-1.m4v
- 00000-2.m4v
So let's say the project he's created uses all these clips. If I attempt to "Duplicate Project + Used Clips", it won't work because 00000-1.m4v from three different events is used in the project. Apparently FCP is written in such a way that it allows you to fall into this trap. What it should be doing is either not allowing you to import a file into an event if that file name already exists in another event, or it should be smart enough to rename duplicate files on-the-fly when exporting (for example, 00000-1-1.m4v and 00000-1-2.m4v). But it does neither of these things.
The problem here is that these are the three events:
Event A = 108 clips
Event B = 68 clips
Event C = 80 clips
All FCP will say is that "two or more media files use the same name - rename the file or files and try again". Only it's not talking about the name of the file from within FCP -- it only cares about the file name as seen in the Finder. So even if I went into event A and put "A-" in front of all the clilp names, it doesn't matter, because it's not really "A-00000-1.m4v" -- the file is still named "00000-1.m4v" in the Finder, and the problem is unresolved.
Does anyone know any way of sorting out this problem without a massive amount of digging around, renaming files by hand and relinking?I'm still stuck on this problem and in a couple of days I'm going to be sitting in on a webinar that will discuss archiving in FCP X.
I have tried several things and if I'm missing something I'd like someone to let me know. I also cannot find much on this subject which is very surprising...or I'm not searching in the right places. I'm going to submit feedback to Apple as follows:
Error: “The operation cannot be completed. Two or more media files use the same name. Rename the file or files and try again.”
Operation attempted: Duplicate project with used clips.
Second operation attempted: Consolidate project media > Copy used clips only.
Cause: Two or more events contain clips with the same name.
Eg.
event-20130126
GOPR0002.mp4
event-20130220
GOPR0002.mp4
Background:
This video project resulted in a one hour documentary that used recordings from 6 different cameras shot over a span of 4 months. Each day’s recording, for the most part, was broken into separate fcp events. This resulted in 48 events.
AVCHD imports result in media files whose name reflects the date and time of the recording which makes each of the imports’ media file names unique, even across all events.
Imports from cameras such as GoPro’s Hero use their own original file names such as GOPR0001. Therefore media file names are not unique across all events.
Due to render and export problems, the video was broken up into 14 separate FCP X projects, aligned with what would ultimately be a “chapter” in the resulting video.
The 14 projects “share” events; i.e. the events used in the 14 projects (chapters) are not mutually exclusive.
The source media as well as the events span over 3 physical external hard drives.
All 14 projects are on one hard drive.
Consideration #1:
It would seem that one way around this problem is to merge all 48 events. I will not do this since this function moves the events rather than copies them. Additionally, I’m not even sure if I have enough space to consolidate all 48 events anywhere available to me.
Consideration #2:
This leaves only one other option which is to rename the source media files and relink all of them across all events.
Questions:
1. Why can’t FCP (internally) qualify the media file names that it imports with the event name? i.e why is it left up to the user to insure that all of the media file names are unique across all events used by a project?
2. If it doesn’t do #1, then why were we not warned of this before starting. I find out about this when I’m done with my project and trying to archive. Now it’s a huge task to rename and relink.
Thoughts:
Regardless of whether there is work-around to this problem, the fact that FCP has a “feature” such as events and allows projects to use more than one event but does not manage them properly reveals a weakness and flaw. If such is the case, then it would be less painful, in this situation, to force a project to use only one event.
I wish that others would speak to this problem. Or let us know what the answer to this is.
Thanks. -
Extracting string from a file name
Hello,
I have a legacy (read: I didn't build it) SharePoint list that includes some validation when uploading files that's giving me some trouble.
Basically, our users are required to add files to a list in a certain filename format and based on the naming convention are approved/rejected and routed to the appropriate location.
One of the validations looks at a section of the file name and compares it to a folder name in the library.
For example, the file name format is XX_AAA_999_2014_05.xlsx and that matches on the folder name of /submissions/2014_05
Currently the rule says look at the last 7 characters of the folder and the 7 characters starting at position 12 of the filename and make sure they match.
The problem is the 999 in the example above is a sequential identifier to the project a file is associated with... e.g. they range from project 000 to project 999. We've now hit project 1000 so file being added for project 1000 (and beyond) fails because
the starting position has shifted one spot. (Note: we have active 3 digit projects so I cannot simply change that to be position 13... not to mention what that does to my history).
So, my task is to come up with something that can accomodate 3 or 4 digit numbers.
I'm trying to stick as closely to the original setup so I don't mess up the history so I'm looking at other methods of getting to the same data in the string. Another problem is that the file names include the extension and the extension can be 3 (pdf)
or 4 (xlsx) characters long.
I've tried this: =LEFT([Source File Name],SEARCH(".",[Source File Name])-1)
but that brings back everything in front of the period and I need just the 7 preceeding characters. Is there a way to limit the number of chars a LEFT() function returns?
In a nutshell, the 4 variations of file names are as follows of which I need to extract the
bolded section.:
ZZ_AAA_999_2014_05.xls
ZZ_AAA_999_2014_05.xlsx
ZZ_AAA_1000_2014_05.xls
ZZ_AAA_1000_2014_05.xlsx
Thanks!
KevinHi,
According to your description, you might want to retrieve the string “2014_05” from the file name.
I would suggest you create a SharePoint Designer workflow and implement your logic of handling the filename.
In SharePoint Designer 2010, there are already some useful utility workflow actions which can enable users to deal with the various requirements come from the business scenarios.
For the string handling, you can consider to use the
Utility Actions:
http://msdn.microsoft.com/en-us/library/office/jj164026(v=office.15).aspx
Another two links about creating SharePoint Designer workflow for your reference:
http://office.microsoft.com/en-001/sharepoint-designer-help/introduction-to-designing-and-customizing-workflows-HA101859249.aspx
http://www.codeproject.com/Tips/415107/Create-a-Workflow-using-SharePoint-Designer
Thanks
Patrick Liang
Forum Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
[email protected]
Patrick Liang
TechNet Community Support -
How to obtain the file name of the cached file
Hi All,
I am using JMF to play a MP3 file from an HTTP link and I need to know the file name of the locally cached file. I found that I can obtain the cache directory using Manager.getCacheDirectory() and I can see the cached file there but its file name is changed.I once had a similar task for creating a webpage that I only use on my computer--a webpage that accesses PDF's and SWF's font previews from a list of fonts as "a href's". What you must do is utilize the power of the command line, whether on a Mac on a PC or on Linux, Linux being the most powerful (although Mac IS Unix). You must utilize variables, variable replacement, and then a command to print out the results of a "for" or "while" loop to a text file which will be your HTML file with each individual link automatically built into the HTML code. You will have a list of 50 links. If you are simply looking for a GOOGLE type functionality where you click on "Next" and "Previous" you will have to dig deeper into variable replacement--this I don't know how to do yet but there are books for command-line shell interpreters. One shell interpreter is called "bash" (born-again shell) and there is a book on the market which gives a detailed example of how to replace variables in a shell script. Again, I don't know how it works. I will try to learn this at a later time when I am more seasoned with the basics of shell scripting.
-
did anyone face this issue that file name is created with digit?
insert into "D:\Inbox/26"
STUDENT_ID,
STUDENT_NAME
this is the code of step of inserting rows.I dont know why wrong file name is generating.I am using variable for file name.I checked the value of variable and it is correct.
ANY IDEA ?Hi,
Some ideas :
1. Is your variable of alphanumeric datatype, with a keep all history property? If not, try with this config.
2. Did you try with single quotes in the resource name of your datastore ?
3. Do you run it inside a package ? (Refresh variable then execute your interface) -
Comparing files in two folders to find duplicates using part of file name
I'm not sure if this is something Automator or perhaps Terminal can do, hoping someone might be able to offer guidance or suggestions.
I have two folders filled with files of photographs.
First folder has approx 15,000 files.
Second folder has approx 1,200 files.
I need to compare the files in the two folders and remove duplicates from the First folder. In other words, the 1,200 files in the Second folder are also in the First folder and they need to be removed from the First folder, leaving 15,000 - 1,200 = 13,800 files in the First folder.
To add a wrinkle to the comparison (nothing is ever that easy), the file names are consistent between folders for the first 17 characters (files follow the format of my name_6 digit date_4 digit # sequence, ie nickB0904087110.jpg) but in the Second folder, the files will have an additional tag added to the file name (ie nickB090408_7110Final.jpg).
Any suggestions or help much appreciated!
nickOld post, sorry, but for the sake of trying to answer it:
The method described here can accomplish the goal, as I understand it.
http://texo.wordpress.com/2009/08/17/comparing-large-directories-fast-in-osx-or- linux/
rsync -rvn --delete /FirstDirectory /SecondDirectory
(He describes: The 'n' flag is a 'dry-run'; remove it and the files will be copied. And '--delete' deletes any files NOT in the FirstDirectory.)
I found I needed to put slashes at the end of the directory name too. ... /Directory1/ /Directory2/
That way it seems to compare those actual folders. Without the slashes, it just put a copy of Directory1 into Directory2. I'm sure there's something I don't understand about rsync though. -
Update File Naming For Better Support of Unique File Names
The below feature requests are designed to allow lightroom to generate unique filenames for images from any number of cameras that all conform to the same naming convention and can be sorted chronologically by name both inside and outside of lightroom.
The specific feature requests to allow this to happen are:
1) Add a "centiseconds" field to the time strings that either uses those values from cameras that support it (like the Canon 5Dii). If a camera doesn't support this value, then lightroom should just pad the string with "00".
2) Add an always on "conflict" counter that defaults to "1" for every image, but would increment as much as necessary to deal with sets of files that would otherwise have conflicting names. This would use the same logic as the conflict number that currently exists and adds "-2", for filenames that would otherwise be duplicates. The difference is that the new one would be applied 100% of the time instead of just when a duplicate is detected. It should also be possible to setup this number to have one or more leading zeros.
To give an example of how this would work, I'll start with a set of example file names and demonstrate how lightroom currently handles them and then show a comparison of how they would work with the enhancements listed above.
Say you are shooting an event with two different camera and have synced up the clocks on each so their timestamps match up. In the current (3.2) version of lightroom, you could use the pattern:
img-{DateYYYYMMDD}-{Hour}{Minute}{Second}
and end up with something like this
img-20101207-201101.jpg
img-20101207-202213.jpg
img-20101207-202213-2.jpg
img-20101207-202213-3.jpg
img-20101207-203324.jpg
img-20101207-203324-2.jpg
Just adding the ability to have centi-seconds in cameras that support them (like the 5DmkII), you can eliminate a lot of the redundancy, but there will still be times when conflicts occur. Especially if you are using cameras that don't support that level of detail in the timestamp. So, if we add both the centi-seconds and the always on conflict number we can create this pattern:
img-{DateYYYYMMDD}-{Hour}{Minute}{Second}{SubSec}-{0Conflict#}
and we would end up with something more like this:
img-20101207-20110143-01.jpg
img-20101207-20221300-01.jpg
img-20101207-20221300-02.jpg
img-20101207-20221323-01.jpg
img-20101207-20332426-01.jpg
img-20101207-20332452-01.jpg
Most of the duplicate names have been eliminated by the subsecond part of the tiem stamp, but all filenames have the exact same pattern, regardless. This makes scanning images by name much simpler. Especially if you need to run an external process that looks at file names over them.
(Note: I'm use a number with a single leading zero padding in this case for the conflict number. It seems unlikely that a single digit would ever cease to be enough, but just in case having a zero padded version would be a nice option.)I would like to be able to rename a virtual copy and simultaneously make it be a true disk copy, and auto add to library.
We have the virtual copy thing covered and it is one of the great things that makes Lightroom a great application which
has brought us new and amazing workflows. -
I am downloading some files via Safari. I then click the file name and paste the preferred name (usually in column view) copied off the Safari window. After a few, Finder stops allowing me to make any changes. I can get the name to open as if it can be changed, but anything I type will not take. I force quit finder and it works ok again. I have had this occur now and again throughout many 10.4 versions. Sometimes I can paste dozens of names, just now I did 1 and it stopped taking the change. Key commands to close windows also then stop working. Though force quit key command brings up that window. Changing name in Info window does not work. Keyboard viewer clicking letters does not work, though keyboard viewer clearly shows the key's typed are recognized. Often these changes pull up a window asking me if I really want to add a particular extension.
Why does this happen and is there a more permanent fix?
Or any simpler fix than restarting the finder?
thanxAbsolutely, it can do this.
In the import dialog's filename box, pull down the list and choose "Edit" to edit your filename preset. You will then be able to create a custom preset with a three digit sequence number.
I've done exactly this myself. -
Podcasts broken in 9.2 with error "A duplicate file name was specified"
Ever since the 9.2 upgrade my podcasts have not been able to update. The following error message is displayed when I click the icon next to the podcast:
+There was a problem downloading "... podcast name ...". A duplicate file name was specified.+
Digging in the iTunes download directory I see that a directory entry is created for each podcast (with a .tmp suffix). Inside there is a download.mp3 that is zero bytes in size.
I've tried reorganizing the library, restarting, reinstalling, etc.
Not sure if this matters, but I've been mounting my itunes library via nfs for the past five years or so without any issue.
I tried to see what iTunes was up to via dtrace/iosnoop but it appears that they've gone and restricted that at the OS level -- so no luck there. Any luck here?Close iTunes, delete the download directory, and restart.
tt2
Maybe you are looking for
-
I am new to unix , i want to know - how to check filesystem SAN / NFS & total free space in system.
-
A long time elements user from the original. Crash problems have escalated since elements 9 to be beyond annoying. Reading Adobes' own forums, it is apparent I am not alone, also apparent Adobe cannot fix the problem. Most disappointing. A new do
-
Closed captioning on lightboxes
How can I add closed captioning to a lightbox? It appears that only one set of slides notes can be added to a slide. The lightbox sits on top of a slide and is invisible in the output until activiated by an advanced action/execute advanced action. Th
-
Track pad not sensitive enough
My Macbook alum has been working well for the last year or two. Within the last couple months, the track pad has become increasingly less sensitive...clicking on it does not always invoke a selection as intended even when a clear click sound is heard
-
I have never activated Test Drive. When I go to remove it via its uninstaller it does not find any components to remove. I want to install MS Office Student teacher edition instead. That software recommends deleting Test drive. My question is how do