Unlock instant, AI-driven research and patent intelligence for your innovation.

Method and device for realizing bulk editing of file contents

A content and file technology, applied in the field of batch modification of file content, can solve the problems of batch replacement and processing of files, low work efficiency, etc., and achieve the effects of ensuring safety, reducing working time, and avoiding loss of source file content

Inactive Publication Date: 2011-04-13
SHENZHEN WUJU SCI TECH
View PDF7 Cites 11 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The present invention provides a method and device for batch modification of file content, aiming to solve the problem that the prior art cannot replace and process files in batches and requires users to perform repeated operations, resulting in low work efficiency

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and device for realizing bulk editing of file contents
  • Method and device for realizing bulk editing of file contents
  • Method and device for realizing bulk editing of file contents

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0026] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0027] see figure 1 , is a flow chart of the first embodiment of the method for implementing batch modification of file content in the present invention. The method that the present invention realizes batch modification of file content comprises the following steps:

[0028] Step 10: Prompt the user to input the source file directory and backup file directory, as well as source matching content and replacement content;

[0029] Step 20: scan the source file directory, recurse all subdirectories, and record all subdirectories;

[0030] Step 30: according to the scanned directory result, create a ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention belongs to the technical field of file processing and particularly relates to a method and a device for realizing bulk editing of file contents. The method for realizing bulk editing of file contents comprises the following steps: a, prompting a user of inputting a source file directory, backup file directory, source matching contents and replacing contents; b, scanning the source file directory, subjecting all sub-directories to recursion and recording all sub-directories; c, based on the scanned directory result, creating corresponding backup directories in the backup file directory according to the scanned directory structure; d, recording the positions of all matching contents in a source file, deleting the original matching contents at the recording positions in the source file and inserting replacing contents into the recording positions; and e, processing all directories, and displaying that the file replacement is successful. The method and the device have the advantages of realizing the bulk editing operation of file contents conveniently, avoiding single file operation, improving efficiency and reducing operating time.

Description

technical field [0001] The invention belongs to the technical field of file processing, and in particular relates to a method and a device for realizing batch modification of file content. Background technique [0002] File content replacement is a must-have function for every text editor. Existing file editors can only replace and process the content of a single file. When encountering batch file replacement, there is nothing they can do, especially for a certain directory and all its files. It is impossible to replace all the files in the subdirectory. If you need to replace all the files in a folder with a certain keyword, you need to open these files one by one and modify them one by one. The user needs to repeat operation, which is not conducive to improving the user's work efficiency. Contents of the invention [0003] The invention provides a method and device for batch modification of file content, aiming at solving the problem that the prior art cannot replace an...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F17/24G06F17/30
Inventor 伍杰
Owner SHENZHEN WUJU SCI TECH