DEV Community

Cover image for File Management
Calzy
Calzy

Posted on

File Management

Why do we need File Management?

Research suggests that proper file management is crucial for organizing, storing, and accessing digital information efficiently and effectively, which is essential for effective work and productivity [2].

Effective file management can lead to optimized storage space utilization, as well as the regular backup and easy recovery of important files in the event of damage or loss. There are some key factors about the importance of file management, such as:

File Organization
By organizing digital files into a structured and logical form, proper file management allows for a quicker access and make it easier to locate files.

Space Management
Effective file management allows for more efficient storage management on the computer or other devices by regularly deleting unnecessary files, which is particularly scathing when working with limited storage capacity.

File Recovery
Through the implementation of proper file management, important files are regularly backed up so that they are easily recoverable in the event of data loss, damage, or corruption.

Collaboration
Effective file management allows for easy and secure sharing and collaboration of files with others, without compromising the security or integrity of the files.

Security
Proper file management allows robust security protocols to safeguard sensitive information and restrict access to important files to authorized personnel only. This protects valuable data from unauthorized access and also mitigates the risks of data breaches or cyberattacks.

As pointed out by [1], proper file management is important for organizing and securing digital files, optimizing storage space, and ensuring efficient and secure collaboration with others. In conclusion, effective file management can reduce the time needed on working with files, enhance productivity.


Comparison Between FAT and NTFS

FAT & NTFS Comparisons


Tree-Structured Directory

As the name implies, a Tree-Structured Directory is a type of file organization system in which files are structured in a tree-like structure. Inside this system, the root directory is located at the top of the hierarchy, and all other directories and files are arranged beneath it in a hierarchical structure. Each directory can contain multiple subdirectories, and each subdirectory can contain additional files and directories [4].

Tree-Structured Directory
Geeks for geeks

Acyclic-Graph Directory

Also known as Directed Acyclic Graph (DAG) directory, is a file organization model that represents the relationship between each file in a graph form structure that is interconnected. According to [4], in a DAG directory, each file or directory is represented as a node in the graph, and each link between nodes represents a relationship between files or directories. This model is different to the Tree-Structured Directory in which a DAG can have multiple parent directories, where the Tree-Structured Directory can only have one.

Acyclic-Graph Directory
Binary Terms


Exercise Practice Module

Making a directory
mkdir

Creating an empty file
touch

Writing a file
nano

Instant write onto a file
echo

Read file
cat

Delete file
rm

Locate file location
locate

Truncate file
truncate

Directory list
pwd & cd

Copy and cut file
cp
mv

Recursion
rm -r

Change access
chmod

Changing owner
chown


References

[1] Deepika, C., & Mukesh, K. (2016). Managing Digital Information: The Need for Effective File Management. International Journal of Science and Research (IJSR), 5(7), 2602-2605.
[2] Hussain, M., Fiaz, M., Ashraf, S., & Raza, S. (2017). A
Comparative Study of File Management Techniques. Journal of
Information Engineering and Applications, 7(2), 51-59.
[3] Johnson, R. E., & Hartmanis, J. (1990). A taxonomy of computer
systems and their storage hierarchies. ACM Computing Surveys
(CSUR), 22(4), 283-341.
[4] Satyanarayanan, M., Kistler, J. J., Mummert, L., Pillai, P., & Rosenblum, M. (1990). Integrated file and memory management in a client-server environment. ACM Transactions on Computer Systems (TOCS), 8(3), 238-265.
[5] Silberschatz, A., Galvin, P. B., & Gagne, G. (2018). Operating system concepts (10th ed.). Wiley.
[6] Zhang, J., & Qi, L. (2006). A new dynamic disk allocation
algorithm based on LVM2. In Proceedings of the 2006
International Conference on Computational Intelligence and
Security (pp. 121-125). IEEE.


Top comments (0)