[go: up one dir, main page]

CN104572665A - Implementing method for deleting files in system server directories through recursion method - Google Patents

Implementing method for deleting files in system server directories through recursion method Download PDF

Info

Publication number
CN104572665A
CN104572665A CN201310480056.7A CN201310480056A CN104572665A CN 104572665 A CN104572665 A CN 104572665A CN 201310480056 A CN201310480056 A CN 201310480056A CN 104572665 A CN104572665 A CN 104572665A
Authority
CN
China
Prior art keywords
catalogue
files
directory
directories
file
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201310480056.7A
Other languages
Chinese (zh)
Inventor
不公告发明人
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZHENJIANG JINRUAN COMPUTER TECHNOLOGY CO LTD
Original Assignee
ZHENJIANG JINRUAN COMPUTER TECHNOLOGY CO LTD
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by ZHENJIANG JINRUAN COMPUTER TECHNOLOGY CO LTD filed Critical ZHENJIANG JINRUAN COMPUTER TECHNOLOGY CO LTD
Priority to CN201310480056.7A priority Critical patent/CN104572665A/en
Publication of CN104572665A publication Critical patent/CN104572665A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/16File or folder operations, e.g. details of user interfaces specifically adapted to file systems
    • G06F16/162Delete operations

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention relates to an implementing method for deleting files in system server directories through a recursion method, and can be used for solving the problem that the directory files in systems are redundant. At present, the computer application technology is already applied to every walk of life; lots of suitable service systems exist in various industries; the service systems have uploading functions; after a long time, the files are repeatedly uploaded. Aiming at the data redundancy problem caused by the repeatedly uploaded files in the service systems and the defect of low database working efficiency caused by overmuch database data, the invention provides the implementation method for deleting files in system server directories through the recursion method; the implementation method can be used for obtaining the directories of the uploaded files in various service systems and deleting and clearing the obtained data directories according to the actual conditions.

Description

A kind of implementation method by file under recursion method deletion system server directory
Technical field
The present invention relates to a kind of recurrence that utilizes to deltree the implementation method of lower All Files and sub-directory.The invention belongs to field of computer technology.
Background technology
Current, Computer Applied Technology has penetrated into often goes in every industry, and industry-by-industry has a lot of operation system being applicable to self, and the file that these operation systems are uploaded exists the phenomenon of bulk redundancy.Briefly, be exactly under specific circumstances old data value not (value of display reference may only have the up-to-date data uploaded just to have, old data can not meet the effect of statistical study), but there is sub-directory or file when uploading catalogue in deleted file, single erasing time too much usually.Such as, in Content Management System, the catalogue file of each picture uploading is called images, and the picture uploaded afterwards is named with the time usually, so occur there is multiple file directory below a catalogue, the data that a lot of manpower and time go to delete redundancy so certainly to be wasted.Being used for the working time limited employee every day doing this thing without any being worth, is too waste of manpower and cost for company really.
Summary of the invention
For the problem of the huge work that this deletion upload file catalogue is brought, and as far as possible for company saves human cost, saves time, there is provided work more efficient, invention describes a kind of implementation method by file under recursion method deletion system server directory, meet the operational requirements of deltree lower All Files and sub-directory.Concrete steps are as follows:
Step 1: the deletable time range of setting upload file catalogue.According to system need carry out directory delete, time range can be determine according to the catalogue rise time.
Step 2: priority assignation.In order to ensure that operation system file uploads the security of catalogue, directory delete function must through authorizing.System manager can carry out right assignment to personnel.The user only having authority could carry out the deletion of file directory in systems in which.
Step 3: directory delete.After the logging in system by user had permission, click " obtaining upload file catalogue " function, the system just automatic file directory of uploading onto the server acquisition is come, and limited rights user selectively can deltree according to the catalogue rise time.
Step 4: deltree record.User to obtaining after the catalogue of coming deletes, system can automatically record deltree title, deletion the information such as time, operator.
Whether whether the method automatically record active user can delete redundant data catalogue in this month (or season, year).In addition, if method also provides the catalogue needing to delete just to generate within certain time range, unsuppressible-suppression, in order to avoid the file newly uploaded is deleted by mistake.
Embodiment
Embodiment one
Use MyEclipse 8.6 as developing instrument, use special database management tools MySQL on market to set up the database required for system.
1. carry out deltreeing according to the needs of system the setting of time range, time range can be determine according to the catalogue rise time, can not be the up-to-date catalogue uploading generation to keep deltreeing.
2. in order to ensure the security of upload file catalogue in operation system.Directory delete function needs system authorization to use.
3. after the logging in system by user had permission, click " obtaining upload file catalogue " function, system just automatic upload file catalogue acquisition is come, and the catalogue that acquisition is come according to catalogue rise time auto-sequencing, and can click the file checked in sub-directory.In operation, system can operate vestige by record automatically, records the file directory that this user deleted.
4. user can carry out deletion action to catalogue according to actual needs.
In addition to the implementation, the present invention can also have other embodiments.All employings are equal to the technical scheme of replacement or equivalent transformation formation, all drop on the protection domain of application claims.

Claims (5)

1. the function such as usually attach that some annexes are uploaded in operation system, annex is uploaded and automatically can be generated catalogue; According to form names such as dates, can may there is multistage file directory in these catalogues.
2. be need system authorization to use for the function that deltrees; Otherwise important catalogue is deleted just irrecoverable.
3. after the logging in system by user had permission, click " obtaining upload file catalogue " function, the system just automatic file directory of uploading onto the server acquisition is come, and limited rights user selectively can deltree according to the catalogue rise time.
4. user can delete server file catalogue according to actual needs, the redundant information in time below cleaning system directory.
5. the title providing record to deltree in method, the information such as time, operator of deletion.
CN201310480056.7A 2013-10-15 2013-10-15 Implementing method for deleting files in system server directories through recursion method Pending CN104572665A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310480056.7A CN104572665A (en) 2013-10-15 2013-10-15 Implementing method for deleting files in system server directories through recursion method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310480056.7A CN104572665A (en) 2013-10-15 2013-10-15 Implementing method for deleting files in system server directories through recursion method

Publications (1)

Publication Number Publication Date
CN104572665A true CN104572665A (en) 2015-04-29

Family

ID=53088759

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310480056.7A Pending CN104572665A (en) 2013-10-15 2013-10-15 Implementing method for deleting files in system server directories through recursion method

Country Status (1)

Country Link
CN (1) CN104572665A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106960055A (en) * 2017-04-01 2017-07-18 广东浪潮大数据研究有限公司 A kind of file delet method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101025702A (en) * 2006-02-17 2007-08-29 深圳奇峰创智科技有限公司 Method for automatic backup using computer network
CN101355630A (en) * 2007-07-26 2009-01-28 佳能株式会社 Data processing apparatus, data processing system, and control method therefor
US7689715B1 (en) * 2002-12-20 2010-03-30 Symantec Operating Corporation Method and system for implementing a global name space service
CN103390163A (en) * 2012-05-10 2013-11-13 中邮科技有限责任公司 Letter address automatic-collection method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7689715B1 (en) * 2002-12-20 2010-03-30 Symantec Operating Corporation Method and system for implementing a global name space service
CN101025702A (en) * 2006-02-17 2007-08-29 深圳奇峰创智科技有限公司 Method for automatic backup using computer network
CN101355630A (en) * 2007-07-26 2009-01-28 佳能株式会社 Data processing apparatus, data processing system, and control method therefor
CN103390163A (en) * 2012-05-10 2013-11-13 中邮科技有限责任公司 Letter address automatic-collection method

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
吴兴威: ""基于JCR的企业内容管理系统的设计与实现"", 《中国优秀硕士学位论文全文数据库 信息科技辑》 *
吴文虎 等: ""擂台赛"", 《电脑爱好者》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106960055A (en) * 2017-04-01 2017-07-18 广东浪潮大数据研究有限公司 A kind of file delet method and device
CN106960055B (en) * 2017-04-01 2020-08-04 广东浪潮大数据研究有限公司 File deletion method and device

Similar Documents

Publication Publication Date Title
DE102013204972B4 (en) Hybrid backup and recovery of a very large file system using metadata image backup and traditional backup
CN100492370C (en) Document Management Method Oriented to Integrated Enterprise Model
US8086694B2 (en) Network storage device collector
CN103605585A (en) Intelligent backup method based on data discovery
CN103793429A (en) Method for managing document versions
US20170091256A1 (en) Record Retention and Deletion
CN106254151A (en) A kind of SCD file visualization display and management method
CN104915262A (en) A verification system and method based on EXCEL data structure
CN108446346A (en) A kind of data centralization backup system and method
CN105071966A (en) Log information management method and log extraction server
CN102508833A (en) Data monitoring device and data monitoring method
CN103336820A (en) Key data auditing method of information system
CN101894104A (en) File management system with version management mechanism
CN104572665A (en) Implementing method for deleting files in system server directories through recursion method
CN103246925A (en) Sentencing suggestion management system
CN104268671A (en) Management method and device for drawing and document file data
CN108121794A (en) file management system
US20130254698A1 (en) Project activity model
CN104346662A (en) Method for realizing service data inheritance
CN103399954A (en) Urban medium and lower voltage power distribution network fault management system based on VS (Visual Studio) platform
WO2016030972A1 (en) Storage system, control method for storage system, server device, and control method for server device
Buss et al. Effectiveness of pavement preservation techniques
US20140143255A1 (en) Storage system, cloud storage system, and computer program product
CN111475466A (en) Nuclear power work ticket query method and device, computer equipment and storage medium
Workman et al. Call 2021 Remote Condition Monitoring of Physical Road Assets Final Programme Report

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20150429

WD01 Invention patent application deemed withdrawn after publication