Currently Viewing Posts Tagged delete

Classification of files and tips to recover them

There are literally hundreds of computer files and formats that exist. It becomes impossible to understand and remember all of them. Hence, we are going to look at a broad classification of files, understand the major file types and how they are used in computers. Here is a breakdown of the file types.

A broad classification of files and file types

  1. System files

System files are files that are crucial for the functioning of a computer. These usually include hardware drivers, DLL files, configuration files and basically everything that includes the Windows registry.

Altering these files can cause severe damage; hence these files are usually kept hidden and are read-only. Hence it is a rare occurrence for users to accidentally delete or modify these files. Some examples include .bak, .dll, .dmp, .sys and .tmp.

Recovery tip #1: Lost system files could mean dysfunctional operating system. However recovering the system files will not repair the system files. Hence when you have deleted or lost system files the best way to get back your operating system to function normally would be to refresh or reinstall Windows operating system.

  1. Program files

Program files are the folder where all the third party applications are installed by default. For certain applications, it is mandatory that the applications be installed in this directory. But it is not always the case. You may also be given the choice to download applications in a folder of your choice.

Recovery tip #2: The program files directory is designed for an organized and predefined way of having all the required files in one place. The program when operated, folders of program files are accessed for opening the application. Hence reinstalling the program would be the best way to recover program files.

Continue reading “Classification of files and tips to recover them”

Delete files recursively

The task is to delete files from the folder and sub-folders, maybe sub-sub-folder.
Say I want to delete .htaccess from every folder, but keep all others no-touch.
It is hard to go into each folder and delete the file. It takes time and also very easy to miss some folders.
There is one command in Linux. Great tool for it.
One line to do the job.

Continue reading “Delete files recursively”

  • Archives