Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Linux system folder comparing method

A folder, file technology

Inactive Publication Date: 2014-01-01
LANGCHAO ELECTRONIC INFORMATION IND CO LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This method does not have a proprietary command to compare the contents of two folders under the command line interface of the Linux system, but uses a software graphical interface for comparison. However, because the graphical interface requires specific software to be installed in Linux, it is extremely difficult to use. It is cumbersome, and installing specific software in Linux will occupy system resources and reduce the operating speed of the system

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
  • Linux system folder comparing method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0014] In order to make the object, technical solution and advantages of the present invention more clear, 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.

[0015] A Linux system folder comparison method of the present invention is aimed at comparing the contents of two folders under the command line interface of the Linux system. First, obtain the file and directory lists of the two folders to be compared through the Linux system read command; then, obtain the file and directory locations through the file and directory lists; then use the opendir() function to determine whether the file or directory is read, If the read is a directory, then judge whether the directory name is consistent, if the directory name is consistent, continue the comparison ...

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 discloses a Linux system folder comparing method. The Linux system folder comparing method comprises the following steps of S10, obtaining the files and the directory lists of two folders to be compared through a Linux system reading command; S11, obtaining the location of the files and the lists according to the files and the lists; S12, determine whether to read the files or the lists according to an opendir ( ) function and perform comparison. The Linux system folder comparing method is convenient and rapid, by inputting a comparing command in a command line interface, the comparison of the content of two folders can be achieved, so that a user can obtain the difference of the two folders by directly inputting the location of the folders in the Linux command line interface.

Description

technical field [0001] The invention belongs to the technical field of computer systems, and relates to a folder comparison method of a Linux system. Background technique [0002] In the Linux system, when comparing the contents of two folders at present, specific software is generally installed in the Linux system, and the contents of the two folders are compared using a software graphical interface. This method does not have a proprietary command to compare the contents of two folders under the command line interface of the Linux system, but uses a software graphical interface for comparison. However, because the graphical interface requires specific software to be installed in Linux, it is extremely difficult to use. It is cumbersome, and the installation of specific software in Linux leads to the occupation of system resources, which in turn reduces the operating speed of the system. [0003] Therefore, in view of the defects existing in the above-mentioned current prio...

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/30
CPCG06F16/16
Inventor 张延良胡振孟圣智
Owner LANGCHAO ELECTRONIC INFORMATION IND CO LTD
Features
  • Generate Ideas
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More