Finder: Replacing files bug
Hey there,
this is about a bug (?) which makes me go crazy.
Take two (preferably big >= 100mb) files and place one of them in a folder. Now mark both files and copy & paste them inside your folder.
Finder now asks, what to do: Replace the file, that already sits inside your folder, or skip it. Now hit skip.
Now what does Finder? Overwrite both files.
Am I too stupid to see the logic behind this behaviour?! Is this intended? If Finder is going to overwrite both files anyway, why asking me in the first place?
Info: freshly installed Snow Leopard.
This seems to be user profile related. Created a new user, switched to that user, re-tested and I do not see the same behavior.
Similar Messages
-
Is there a "replace files" bug in iTunes? Plays fine in iTunes- not on Pod
Hello, all. Long story short, I'm re-ripping all my CDs at a higher bit rate. I'm going from 128 Kbps AAC to 192 Kbps AAC (variable bit rate.) Now I'm having issues.
So far, when iTunes asks me if I want to replace my existing files before I rip, I say "yes," but now I'm wondering if that's a big mistake due to a bug in iTunes. Why? Well, although the newly ripped album plays fine in iTunes and through my iPod (using it as a hard drive through the computer), once I disconnect my iPod and make it portable, the iPod will skip track #2 (for example) of a 9 track cd.
I've reset my iPod - no change.
I've deleted the album from my iPod and dragged it back on there - no change.
I'm trying to track down the root of the problem. The replacement file is obviously fine, and even plays in another media player. Someone said "replacing" files is bad because iTunes doesn't replace gapless playback information, and it uses old data for your newly sized files. Is that the root of my problem? Does iTunes have a "replace existing files" bug? It's the only thing I can think of. A solution would be to have iTunes re-analyze all my iTunes tracks for gapless playback and other data, but that doesn't seem to be an iTunes option. Any ideas? Re-ripping the cd is not an option. (But for all you whistle blowers, rest assured it was a cd I bought, so everything is legal.)
5th gen iPod with video Windows XP iTunes 7.1.1.5Have you updated your iPod and iTunes sofware?
most cases, iTunes can play these high quality songs, which is meant for newer mobile devices like iPhones, iPod Touch, nano and iPad, which the older iPod cant play, but only playable with iPod classic sofware version 2.0.4
most likely it is an incompatible song format, read this Apple support article.
http://support.apple.com/kb/HT1334?viewlocale=en_USet
If your iPod software is version 1.1.2, then you have to use lower quality format.
Can you select the problematic song, and Advance -> create iPod version -
JDev10.1.3EA Find in Files Bug
Could you pls review
JDev10.1.3EA Find in Files big files size limit
looks like the size limit only works for the first (big) file,
Thanks in advanceHi,
can you explain a bit more what you mean? Did you set a size limit on the max. file size to compare ?
Frank -
I'm having a problem with mass find / replace : files with
other extensions aren't reached by the very useful find/replace
tool. I'm positive of this as if I rename the extension and simply
add ".txt" at the end, it's searched.
I'm using ".ini" files in my projects and I tried in "Edit"
> "Preferences", section "File Types / Editors" both adding the
extension in the bottom list adding the extension then assigning
Dreamweaver as the editor AND, more simply, adding at the top "Open
in code view".
It seems to me an application that has been thoroughly made
like Dreamweaver would be able to search unknown file types and I
just didn't see the option for it, would someone please give me a
lead on this ?I'm sorry; :-(
"Murray *ACE*" <[email protected]> wrote
in message
news:gltau4$bfi$[email protected]..
> Kowabonga. A brain!
>
> --
> Murray --- ICQ 71997575
> Adobe Community Expert
> (If you *MUST* email me, don't LAUGH when you do so!)
> ==================
>
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
>
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
> ==================
>
>
> "Baxter" <baxter(RemoveThe :-)@gtlakes.com> wrote
in message
> news:glt9vj$ac3$[email protected]..
> > If its a .ini file just rename it to .txt and do
you replace and then
> > rename
> > it.
> > Dave
> > "Murray *ACE*"
<[email protected]> wrote in message
> > news:glt45r$3f8$[email protected]..
> >> Yes, it works as expected in the *.sql format,
but not in the *.ini
> > format.
> >>
> >> --
> >> Murray --- ICQ 71997575
> >> Adobe Community Expert
> >> (If you *MUST* email me, don't LAUGH when you
do so!)
> >> ==================
> >>
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
> >>
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
> >> ==================
> >>
> >>
> >> "DynV" <[email protected]>
wrote in message
> >> news:glt0e4$s8s$[email protected]..
> >> > Murray did you try the .ini or .sql format
> >> >
> >> >
quote:
Originally posted by:
Newsgroup User
> >> > I created a text only file. I selected it
in the Files panel. I did
a
> >> > search in 'Source' of the selected file
for a word. It found two
> >> > instances.
> >> >
> >> >
> >>
> >
> >
> -
Batch code for running a find/replace all on multiple files within a source floder/directory
What I need is a Batch source code that will open all files in a folder/directory and run a find and replace_all query within them and then save all the files. The files were created in Illustrator and saved using the Scene7 FXG format extension. These files will be uploaded into Scene7 as a group after the find and replace macro/query is run on the code. The same find and replace query will be the same for all the files. Basically this function or batch process will save time in setting the same parameters all at one time instead of having to set the parameters individually in scene7.
a source code sample of the find/replace module macro might be searchString: s7:colorvalue="#FFFFFFFF"
replaceString: s7:colorValue="#&txtclr;"
searchWhat "FXG document"
searchSource: true,
useRegularExpressions: true
I have no problems creating batch files within Ai and PhotoShop but I have limited programming skills in how to create source code for manuipulating documents outside of those apps or in a OS invironment.
I could probably come up witha simple program to do what i want for one document but i get lost when dealing with multiple documents in a source folder (prolbem is, I will be dealing with thousands of documents not 100 or less)
If anything which Adope cloud app would work best: Dreamweaver or Edge code (or just use my notepad)What I need is a Batch source code that will open all files in a folder/directory and run a find and replace_all query within them and then save all the files. The files were created in Illustrator and saved using the Scene7 FXG format extension. These files will be uploaded into Scene7 as a group after the find and replace macro/query is run on the code. The same find and replace query will be the same for all the files. Basically this function or batch process will save time in setting the same parameters all at one time instead of having to set the parameters individually in scene7.
a source code sample of the find/replace module macro might be searchString: s7:colorvalue="#FFFFFFFF"
replaceString: s7:colorValue="#&txtclr;"
searchWhat "FXG document"
searchSource: true,
useRegularExpressions: true
I have no problems creating batch files within Ai and PhotoShop but I have limited programming skills in how to create source code for manuipulating documents outside of those apps or in a OS invironment.
I could probably come up witha simple program to do what i want for one document but i get lost when dealing with multiple documents in a source folder (prolbem is, I will be dealing with thousands of documents not 100 or less)
If anything which Adope cloud app would work best: Dreamweaver or Edge code (or just use my notepad) -
Find & Replace text in html files
This is my first real attempt at using Automator, and it has become increasingly frustrating for me. I love the idea of Automator, nice interface, and it appears to be so easy to use. But, I can't get it to actually DO anything and I don't understand why.
Here is my goal:
to batch process multiple html files to remove certain characters and words (or replace them with empty space).
I currently open these files in Pages and do 6 separate Find & Replace commands for each file before I continue with my other processing tasks. This is very tedious and I believe the computer should be able to find & replace multiple items at one time. (I have used other utilities to do batch renaming and trimming file names before.)
All I want to do is select a group of files (usually 25 at a time) and have Automator get rid of all the unwanted words and characters before I open each file for final processing in Pages. I found a set of Automator actions for TextEdit which includes a Find & Replace action, but I've wasted over an hour so far trying to get it to work.
When I run the workflow, it acts like it's doing something, but the files remain unchanged. I have tried using actions such as Read Text File, Get Contents of TextEdit Document, Set Contents of TextEdit Document, along with 6 instances of Find & Replace, but I cannot get it to work.
I'm at a point today where I cannot afford to mess around with this anymore. I have to do it the long way in Pages or else I'll never get it done, but I want to get these Automator workflows to work before I have to repeat this task. (I do this at least once a week right now.)
Any ideas or suggestions? I've tried reading in the help menus and support pages, but perhaps I'm just not understanding something here.Any ideas or suggestions?
You might be interested in using TextWrangler. It can perform batch find-and-replace changes across multiple selected files.
Good luck!
Andrew99 -
Bug in Open/Create/Replace File
I found this problem in LabVIEW 2009. The boolean indicator doesn't seem to work properly in the first snippet. It returns TRUE even with a valid path. With some trial and error I found a workaround that will make it work properly for now. I just wire an Error Out after the Open/Create/Replace File (second snippet). Is this a bug?? Am I doing something wrong??
I've got a lot of code that uses this to test to check for existing files and then wire the output to a case statement. I also know there is a Check if File/Folder Exists.vi available. I would hate to spend a lot of time changing all my code if this is a known bug and it will be fixed in the next update. If it is not a know bug, where can I submit this??
Solved!
Go to Solution.Its not a bug. You have race condition between indicator and close ref.
Use it in this way:
Andrey. -
Find+replace in all Pages files in a folder
Hi,
A simple question (?). I have a long manuscript which is a folder comprising several dozens of Pages documents. I would like to execute a find+replace command across all the individual documents (without having to open them all one by one...) I guess Applescript will be the answer, but I am not experienced in its use... Would there be a pre-existing script available? I have searched, but with no success.
Many thanks.Ned is right... if the server can do it, let it. Also - I only wish Flash had file system access on servers... but if they did - how would Adobe sell Flash Media Server?
Google php filelist, php directory list, etc... you'll find lots of useful scripts. -
How to see full file path in DW find/replace results
I've been looking for a solution to this for a while now.
I've also seen many questions about this on other forums but no
real answers.
The problem is this: when I use the DW8 find feature to
search for something across an entire site (or an entire folder not
in a defined site) all the files in which the pattern was found get
listed with only the filename and the name of that file's immediate
parent folder. I can't see the full path to the file.
Now of course, if I only get a few matches, I can open up all
the files one at a time and see the full path in the DW window
title. However, that gets pretty restrictive if I get lots of
results.
For example, I searched for something like "model2_header_"
in the source code for one of my sites.
over 6000 files contained a match for that pattern.
I ain't about to open 6000 files just to know where they are
in the site.
As a specific example, one of those files was located 6
subfolders down:
[siteRoot]\ab-dga\tools\guides\tpd-dpc\ov-oev\ccrfta-aleccr\filename.html
But in the DW search results, it was listed as:
ccrfta-aleccr\filename.html [...matched text here...]
That makes it really hard to find that file.
I still use HomeSite sometimes and I get the full path in
search results there so it's really frustrating that DW doesn't
provide that information as well.
Please, someone, let me know that there is hope. Find me a
solution (and please don't just give me the last two words of it...
Thanks.Hm, I wonder if it's something they may have enabled only for the Cloud version (I have 13.1.2). If so, I didn't notice the change at the time of the upgrade.
Nope, it's not that - I have a virtual machine for testing with 13.0.1 installed... This is what I see there:
-Noel -
Yeosmite Finder in fullscreen bug, tabs obstruct files
When i launch finder in full screen and open multiple tabs everything is ok.
Then using while in the list view, if i drag a file to a separate folder, the file lists move up, when i complete the drag and drop, finder's file list remains stuck with the tabs obstructing the first few files on every list.
I have to go out of fullscreen to fix the problem, can this be stopped?TheGut wrote:
If you search help for import csv files, you get the topic "using CSV or OFX files in a spreadsheet, which contains
Using CSV or OFX Files in a Spreadsheet
To add CSV or OFX data to an open spreadsheet:
Select a sheet.
Do one of the following:
To create one or more new tables, drag a CSV or OFX file from the Finder onto the sheet’s canvas.
This works for me for CSV files. It creates a table with columns and rows as expected.
To add CSV or OFX data to an empty table, drag the CSV or OFX file onto the table.
The data is added; additional columns are created if necessary.
Works for me. It fills out the columns and rows as expected.
To add CSV or OFX data to a table that contains data, drag the CSV or OFX file onto the table.
Basically the same as dragging to an empty table. Works for me.
The only things that don't work, and no one said it would, are
1) If you copy the text from a CSV then paste it into a table it does not expand into columns and rows, just rows.
2) If your "CSV" file has a TXT extension. It is therefore not technically a CSV file, it is a text file, and is treated differently.
I think there may be a problem with international settings related to commas versus semicolons but that shouldn't be a problem in Georgia unless that is the country of and not the state of.
A TXT file with tabs can be dragged into a table and it will expand into columns and rows. It creates a text box if dragged onto the canvas. -
There seems to be a bug with the Oracle Database Project that prevents Quick Find and Quick Replace from working. To recreate, just open the new Oracle Database Project, open a sql script, ctrl-F, search for a text string. The text will not be found.
I guess the work around (not so ideal) is to use Find in Files (shift/ctrl-F) and Replace in Files (shift/ctrl-H).
-
Find / Replace Usability issue
The find/replace in current file ( Ctrl/F) does not list all
its occurrences. Find/Replace (ctrl-Shift-F) in Files does provide
somewhat a more "reasonable" tracking of its operation, maybe if a
current-file option is added it will solve my problem?.
So, am I missing something ?
A good (and consistent) find/replace facility is a very
useful in a "large" project, I like the one in the Old & Good
Macromedia's Homesite. A full refactoring facility would also give
us developers more ammunition to rave about FB3 :)[email protected],
Can you please file a bug in the Flex Bug base at
http://bugs.adobe.com/flex/
and include a few steps to reproduce the issue you're seeing?
Thanks,
Peter -
Find/Replace highlights the wrong code
Hi, when using the normal Find and search for specific text in my AS3 class file, it highlights the right position where it found the matching text, but when I use the Find/Replace it totally messes up, it highlights the wrong text in my code, but it displays the right position in the Find/Replace window. Is there a way to fix that, or is this a known bug? See attached screenshot.
Hi,
Thanks for sharing the file.
The issue is with the End of Line(EOL) character. The file uses CR notation for its EOL and was used in Mac OS version upto 9 and in Mac OS 9. When a file is created using any of those versions of Mac OS then the EOL character would be CR which is obsolete now and is not recognized by many modern text editors.
If the EOL is LF or CR|LF then the Find and Replace will work as expected in Flash CC.
You can change the EOL of the file by opening and saving the file in Wordpad which will change the EOL to CR|LF.
Hope this information will help resolve your issue.
Thanks!
Mohan -
I'm trying to get DW 8 to allow me to remove some of the
"found" items before using the replace function to avoid having to
open each file individually - but when I delete entries from the
"found" list, on r-click I'm given 3 options:
- Open File
- Find & Replace
- Clear Results
The Find & Replace option takes me back to the original
Find & Replace screen. With DW4 you have the option of deleting
some of the "found" entries before pressing the "replace" button.
Has DW really taken a backward step?I neevr used DW4, so I'm not certain how that worked. And it
doesn't look like you can delete entries from the Search panel.
You might use other techniques to limit your changes. Any
folders or files that are cloaked will not be updated by the
Replace. You can set cloaking for specific files or folders, or by
file extension (on the Site panel). Or, you could select only the
files you want to target and use the Selected Files in Site option
of the Find In drop-down. Or, you could use the Replace button in
the Find/Replace panel to go through the results one at a time,
rather than using Replace All.
If you are changing HTML tags or attributes, the Find/Replace
options are very powerful. -
Error message on my development workstation: The system cannot find the file specified.
Post Author: cseverin
CA Forum: Crystal Reports
Hi,
I am currently developing an ASP.NET website using Visual Studio.NET 2005. I am using the .NET 2.0 framework, VB.NET as my programming language and I connect successfully to a SQL Server 2005 database. I can select, insert, update and delete data from the database elsewhere in my project, so I know basic connectivity isn't an issue. The problem seems to be with Crystal Reports.
I created a folder called 'Reports' in my project and added a Crystal Report file (OpenFiles.rpt) to it. I designed the report and initally used a hard-coded SQL query as its datasource so I could quickly get the database fields onto the report and preview them. All worked fine.
To make the report accessible to the rest of the website, I created an .xsd dataset file containing the three tables (and their corresponding tableadapters) that the report requires and then redeveloped the report using the dataset as the datasource for the report. After doing this, the preview no longer worked.
Next, I added a page to the website and dragged a Crystal Report Viewer Control onto it. In the code behind the page I wrote:
Option Strict On
Imports System.Data
Imports CrystalDecisions.CrystalReports.Engine
Imports CrystalDecisions.Shared
Partial Class Reports
Inherits System.Web.UI.Page
Private objOpenFilesreport As OpenFilesReport
Private rptOpenFiles As ReportDocument
Private strLastErrorMessage As String = Nothing
Private errLastException As Exception = Nothing
Dim strFileKey As String
Dim strJurisdictionCode As String
Dim strStaffId As String
Dim strReportId As String
Private Sub ConfigureCrystalReports()
Dim reportPath As String = Server.MapPath("OpenFiles.rpt")
Dim rptopenfiles As New ReportDocument
rptOpenFiles.Load(reportPath) <== I checked this during execution and the value correctly points to the OpenFiles.rpt file in the Reports folder of my project
Dim ConnectionInfo As ConnectionInfo = New ConnectionInfo()
ConnectionInfo.DatabaseName = my database
ConnectionInfo.UserID = login id of user
ConnectionInfo.Password = user's password
SetDBLogonForReport(ConnectionInfo, rptopenfiles)
CrystalReportViewer1.ReportSource = rptopenfiles
End Sub
Protected Sub Page_Init(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Init
ConfigureCrystalReports()
End Sub
Private Sub SetDBLogonForReport(ByVal ConnectionInfo As ConnectionInfo, ByVal myReportDocument As ReportDocument)
Dim myTables As Tables = myReportDocument.Database.Tables
For Each myTable As CrystalDecisions.CrystalReports.Engine.Table In myTables
Dim myTableLogonInfo As TableLogOnInfo = myTable.LogOnInfo
myTableLogonInfo.ConnectionInfo = ConnectionInfo
myTable.ApplyLogOnInfo(myTableLogonInfo)
Next
End Sub
End Class
I added a hyperlink to one of the existing pages on the website to navigate to this page with the report viewer on it. When I run the website in Visual Studio and click on the hyperlink I get the following:
Server Error in '/MyTest' Application.
The system cannot find the file specified.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.Runtime.InteropServices.COMException: The system cannot find the file specified.Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. Stack Trace:
[COMException (0x80004005): The system cannot find the file specified.
]
CrystalDecisions.ReportAppServer.ClientDoc.ReportClientDocumentClass.Open(Object& DocumentPath, Int32 Options) +0
CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.Open(Object& DocumentPath, Int32 Options) +126
CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened() +442
[Exception: Load report failed.]
CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened() +513
CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename, OpenReportMethod openMethod, Int16 parentJob) +1378
CrystalDecisions.CrystalReports.Engine.ReportDocument.EnsureLoadReport() +149
CrystalDecisions.CrystalReports.Engine.ReportDocument.get_DataDefinition() +85
CrystalDecisions.CrystalReports.Engine.ReportDocument.get_ParameterFields() +158
CrystalDecisions.Web.CrystalReportSource.BindControlParameter(Parameter parameter) +130
CrystalDecisions.Web.CrystalReportSource.DataBindParameters() +191
CrystalDecisions.Web.CrystalReportSource.EnsureParameters(Boolean forceDataBind) +90
CrystalDecisions.Web.CrystalReportSource.LoadCompleteEventHandler(Object sender, EventArgs e) +47
System.Web.UI.Page.OnLoadComplete(EventArgs e) +96
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +4086
Version Information: Microsoft .NET Framework Version:2.0.50727.832; ASP.NET Version:2.0.50727.832
Any ideas, anyone?
Also, assuming I can get past this error, I will need to figure out how to fill the tables in the .xsd dataset file. I have written a class for the dataset that includes functions that populate the tables in the dataset from the database by executing SQL queries. But how do I call these functions at the time the report is run?
This is my first Crystal report written in .NET and I've been struggling with it for days now. Any help would be most appreciated!
Thanks very much!
Chris Severinhello, the error message is obviously coming from one of the installed mcafee extensions. please directly contact mcafee technical support - they can likely give you more detailed guidance and are the only ones who can fix bugs or make necessary adjustments in the addon.
Maybe you are looking for
-
Deleting a row from a resultSet with nulls
Hello All, I have stumbled across a bit of a problem when using a cachedRowSet If I select columns from my database that have null values, and I call deleteRow() I get a NullPointerException. at com.sun.rowset.internal.CachedRowSetWriter.deleteOrigin
-
View purchased TV shows in iTunes stored on cloud
Is it possible to view purchased TV shows on my Mac in iTunes from the cloud without having to download them to my Mac?
-
'Best practice' - separating packages, classes, methods.
I'm writing a few tools for handling classical propositional logic sentences. I currently have a parser (using JavaCC) Various reasoning methods (e.g. finding whether sentences are satisfiable or a contradition, whether two sentences are equivalent,
-
Save tree structure to text file and load textfile to another tree control
I'm able to save the structure and data to a text file, thanks to the "save tree structure to textfile" info found on this msg board, but can't seem to load the complete tree structure data from the text file into another tree. I've only been able to
-
Missing features after upgrade
I updated my 3GS to 4.0 and lost cell data (though it will show full bars and 3G), as well as MMS. I then got the iPhone 4 and restored from my 3GS backup. Now, I am missing those features as well FaceTime (which isn't even showing up in the phone se