LBRY Block Explorer

LBRY Claims • linux-make-rename-move-delete-folders

6ffb90e65fb49e018d5db893c730ead7e73c7a90

Published By
Created On
18 Feb 2020 15:12:04 UTC
Transaction ID
Cost
Safe for Work
Free
Yes
Linux - Make, Rename, Move, Delete Folders (mkdir, mv, cp, rm)
Find code and diagrams at: https://www.EliTheComputerGuy.com

Managing folders is much like managing files in Linux. Just remember to use the -r option (recursive) for copying and deleting.

Make Directory

mkdir newfolder – Creates a folder called folder
Rename Directory

mv newfolder newfolder2 – Renames folder to be folder2
Move Directory

mv newfolder folder/newfolder – Moves newfolder into the folder directory.
Warning: You can move AND rename a folder at the same time even by accident.
Copy Directory

cp -r newfolder newfolder.bak – Copies newfolder and contents to newfolder.bak
-r means “recursive” and so copies both the folder and all contents.
Delete Directory

rm – rf newfolder – Deletes newfolder and all contents
-f is the “force” option and may be needed if files within the directory are protected for some reason.
...
https://www.youtube.com/watch?v=i0WMbEdWLhA
Author
Content Type
Unspecified
video/mp4
Language
Unspecified
Open in LBRY

More from the publisher

Controlling
VIDEO
DAILY
Controlling
VIDEO
PROGR
Controlling
VIDEO
WIREL
Controlling
VIDEO
HOOTS
Controlling
VIDEO
TIKTO
Controlling
VIDEO
GAMES
Controlling
VIDEO
WHAT
Controlling
VIDEO
MANAG
Controlling
VIDEO
PLAYS