Finding and Sorting Files
-
EmmaCrabtree
- Posts: 8
- Joined: Sun Jul 06, 2008 3:24 pm
Finding and Sorting Files
Post by EmmaCrabtree »
I want to search for files that have have a particular reference in them and file them elsewhere after the search. That's fine. I was told to make .bak files to show which files were relevant. Again fine. My problem occurs when I want to search the relevant files, .bak files, which Author can't do.
Is there a way of searching for files, moving them, and then searching in the moved files again which doesn't take a huge amount of time or that can be done by the program rather than me manually moving files?!
Any advice gratefully received.
Thanks,
Emma.
-
sorin_ristache
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Re: Finding and Sorting Files
Post by sorin_ristache »
The Find/Replace in Files dialog can find the files with a particular reference. You open the dialog from the Find/Replace in Files icon
located on the Search toolbar. You can create a .bak copy of each file containing the reference if you replace the reference with other string. If you want to find the reference without modifying it but you need a .bak copy of the file then you should replace the reference with the reference itself, that is the file will have the same content after the replace operation.For moving files from the Author editor you have to define an external tool which runs a command line containing a move command.
Regards,
Sorin
-
EmmaCrabtree
- Posts: 8
- Joined: Sun Jul 06, 2008 3:24 pm
Re: Finding and Sorting Files
Post by EmmaCrabtree »
Can you run a search for code that is missing?
Cheers,
Emma.
-
sorin_ristache
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Re: Finding and Sorting Files
Post by sorin_ristache »
Regards,
Sorin
-
EmmaCrabtree
- Posts: 8
- Joined: Sun Jul 06, 2008 3:24 pm
Re: Finding and Sorting Files
Post by EmmaCrabtree »
I'm looking for files that only contain </filmId> rather than the full string of <filmId></filmId>
Can this be done?
Thanks,
Emma.
-
sorin_ristache
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Re: Finding and Sorting Files
Post by sorin_ristache »
Regards,
Sorin
-
EmmaCrabtree
- Posts: 8
- Joined: Sun Jul 06, 2008 3:24 pm
Re: Finding and Sorting Files
Post by EmmaCrabtree »
regards,
Emma.
-
EmmaCrabtree
- Posts: 8
- Joined: Sun Jul 06, 2008 3:24 pm
Re: Finding and Sorting Files
Post by EmmaCrabtree »
What I have are 2 sets of files; one with <filmId></filmId> and the other with a 6 figure digit followed by </filmId> e.g. 123456</filmId>
The coding is wrong i.e. it ought to be <filmId>123456</filmId> so I am trying to work around this and find the files with the 6 figure digit.
Any ideas?!
Thanks,
Emma.
-
sorin_ristache
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Re: Finding and Sorting Files
Post by sorin_ristache »
Regards,
Sorin
-
EmmaCrabtree
- Posts: 8
- Joined: Sun Jul 06, 2008 3:24 pm
Re: Finding and Sorting Files
Post by EmmaCrabtree »
Thank you!
-
EmmaCrabtree
- Posts: 8
- Joined: Sun Jul 06, 2008 3:24 pm
Re: Finding and Sorting Files
Post by EmmaCrabtree »
I've been able to search for most of the files using the tips you gave me, but I think I am missing some (due to a previous search that brought up more files).
Should your string work to find 123456</filmId> only?
Thanks,
Emma.
-
sorin_ristache
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Re: Finding and Sorting Files
Post by sorin_ristache »
Regards,
Sorin
-
EmmaCrabtree
- Posts: 8
- Joined: Sun Jul 06, 2008 3:24 pm
Re: Finding and Sorting Files
Post by EmmaCrabtree »
Cheers,
Emma.
Return to “General XML Questions”
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ Artificial Intelligence (AI Positron Assistant add-on)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service