Tag: file management

Browse all articles, tutorials, and guides about file management

Posts

Linux
2024-12-20|6 min read

How to Create Symbolic Links in Linux

Learn how to create and manage symbolic links (symlinks) in Linux to create shortcuts, organize files, and maintain flexible file system structures.

Linux
2024-12-12|7 min read

How to Create a Copy of a Directory in Unix/Linux

Learn various methods to copy directories in Linux and Unix systems using cp, rsync, and tar commands with practical examples and best practices.

Linux
2024-12-10|6 min read

How to Change File and Folder Permissions Recursively in Linux

Learn how to use chmod command to change permissions for directories and all their subdirectories and files efficiently and safely.

Git
2024-12-07|5 min

How to Discard Unstaged Changes in Git

Learn different methods to discard unstaged changes in Git using checkout, restore, and clean commands. Learn selective and bulk change removal techniques.

Git
2024-11-19|6 min read

How to Make Git Forget About a File That Was Tracked But Is Now in .gitignore

Learn how to remove files from Git tracking while keeping them locally when you add them to .gitignore after they were already committed.

Git
2024-11-16|6 min read

How to Remove Local Untracked Files from Git Working Tree

Learn how to use git clean to remove untracked files and directories from your Git working tree safely with different options and safety checks.

Git
2024-10-12|5 min read

How to Stash Only One File in Git

Need to temporarily save changes to just one file? Learn how to stash a single file in Git while leaving other changes in your working directory.

Git
2024-09-15|5 min read

How to Remove a File from Git Without Deleting It Locally

Need to stop tracking a file in Git but keep it on your filesystem? Learn how to remove files from Git repository while preserving them locally.

Bash
2024-04-12|7 min read

How to Count Lines of Code in a Directory Recursively

Discover multiple methods to count source code lines across entire directory trees, including filtering by file types and excluding specific directories.