I have a lot of docs in clearcase which are not properly sorted and I have to migrate them to Sharepoint after sorting them. I have the folder structer of how I want the docs to be sorted in sharePoint. Now I want to search for particular words in the docs in ClearCase and move that doc to the respective folder in Sharepoint. For example, if a doc contained the word "design" it is most likely to go into the design process folder in SharePoint. So I want to be able to search word phrases in the docs that are stored in ClearCase. Is this possible?
This isn't a ClearCase feature, but rather a simple grep issue.
(unless you want to search in all the versions of a ClearCase file)
I would recommend simply loading your docs in a snapshot view, and use your favorite grep tool on those files.
Related
1st, I want to cover what this question is not about. There are 100's of articles that talk about how to search for folders with dots within their names. This is not the question. This is about searching for files within a folder that has dots in its name.
Say I have a folder
c:\public\dev\process.ui.help\
I have another folder
c:\public\processuihelp\
I have exact copies of the same files in each folder
help.csproj
help.cs
help.cs has a line in it like
//find this - SearchForMe
if in explorer and I search "SearchForMe", then explorer only returns help.cs from the 2nd folder but not the first. It may be treating the dotted folder names as extensions.
Edit: in the index options, any folders with extensions are automatically being de-selected. If I reselect them and save, they are de-selected again.
Is there any work-around or alternative search?
Why? : In this large development project (10's of projects, 1000's of folders), I am using dotted folder names to organise namespaces without creating a deep hierarchy of folders. Windows allows dotted folder names.
I haven't searched with built-in windows searches for a long time.
I just replicated your situation and tried searching with "Search My Files" and with "Everything", two tools I use frequently and both found both files immediately. Maybe give either or both of them a try and see if they do what you are looking for.
Edit: Everything is by voidtools, search my files by nirsoft, both are freeware.
We are using Cimplicity to operate some installations at our plant. The frontend consists of a lot of .cim files, which are the screens presented to the operator. These files are built with 'cimedit', which is basically a graphical click and drag program with which you can assemble the screens. Each object you drag onto the screen has the option to run a script, which brings me to my problem.
Because each screen contains a lot of small scripts and functions it is hard to keep track of what does what. For example I'm trying to figure out where a certain table from my database is being accessed or updated. Since the files all seem to be compressed (or so) I can't use a regular 'search the contents of this file' search.
Things I've tried so far are searching using windows, with the content option enabled and also tried the compression option. This had no success. It makes sense because like I said, the files seem to be compressed, so the actual script is not stored in plain text.
So, my question in short:
How do I search all the scripts of (preferably multiple) cimplicity screens?
Any tips on how to search compressed files are also very much appreciated.
I stumbled upon another stackoverflow post while searching for a better windows search tool and ended up finding this post: https://superuser.com/questions/26593/best-way-to-confidently-search-files-and-contents-in-windows-without-using-an
This posts recommends Agent Ransack and it is actually possible to search through the .cim files with this tool.
I've found an issue in my code where something used to be specified, but is no longer, so I want to search for a particular string through the history of the repository.
Is there a way to do this in TortoiseHg? I know it would take a while, but it'd take me longer...
If you don't mind working with Mercurial via the command line, there's hg grep. It's probably exposed somewhere in the TortoiseHg Workbench, but I don't know.
Menu "View" -> "Search". This will open the search pane which you can use to search for strings inside your
working copy, all history, specific revision
with inclusion file patterns
and exclusion file patterns
does trac web interface provide a way to delete, rename, etc. a lot of wiki pages as a whole, without having to do the tedious task one by one and manually? Something like a checkbox for each page, followed by a Delete button.
Thanks
You can do this through the trac-admin command-line utility. Use the syntax
trac-admin /path/to/project/env wiki remove WikiPageName
to remove a wiki page. You should be able to write a simple script that runs this command for every page in a list. You can use the wiki list command to retrieve a list of all wiki pages, which might be useful if you are wanting to delete wiki pages whose names follow a particular pattern (also useful for deleting a page and all of its sub-pages).
update use bta's answer instead of this.
There is no trac interface I am aware of, but you might be able to do this by manually editing the database. For example SQLite Database Browser is able to open the db/trac.db file and might be a little bit less tedious than manually using the trac interface. But make a backup before you try....
You have to edit the name field in the wiki table.
All reports are located under a folder on the drive (around 1800)
1.a. The reports may have more than one query, and may have sub-reports too
Some of the reports (well over a 100) reference a particular field in the database
The field-name on the database is changed
I'm looking for a way to find the names of all RPT files where this field-name occurs as a precursor to modifying the queries.
What I have done so far is to try to use windows search in files for the specific word ...
How would you discover all RPT files that contain a particular word?
Regards,
Ev1
I am one of the co-founders of Find it EZ Software. There are some commercial products like FinditEZ Code Search Pro that are specifically designed to deliver what you are looking for. A free trial of our product is available. See http://www.finditez.com/crystalreports for more details.
Find it EZ is one of several Crystal Report management tools reviewed and that may meet your needs # http://kenhamady.com/cru/comparisons/rpt-management-utilities .
Find it EZ is a change impact analysis search tool for Crystal .rpt files and underlying databases. It includes the ability to search for specific word or string matches as well as several canned reports that can extract embedded SQL code or create xref lists for all referenced tables and field names used in your library of Cyrstal reports.
Not easy to accomplish - CR files (at least starting from version 9 or 9.5) are compressed.
We created simple executable, opening reports as objects and exporting their content in "report definition file" format (internally simple text file). This way most fields and formula contents, used on report and subreports, are exported in textual format - unfortunately formulas, which are not directly placed on report, but only used indirectly, are ignored.
Afterwards you can use windows search or grep or any other tools to search files, containing needed words.
The old command FindStr! Use Start|Run, enter CMD and click OK.
Enter something like
findstr /l /m "REFERENCE NUMBER" "C:\Reports\*.doc*"
to see the file names. And they say DOS is dead.