What do you want to save?
Add Code snippet
New code examples
-
Shell/Bash 2021-08-31 07:12:02
how to unzip Tar file
## Untar files in Current Directory ## tar -xvf filename.tar.gz ## Untar files in specified Directory ## tar -xvf filename.tar.gz -C /path_name_for_unzip/ -x : extract -C : specified directory -v : Verbosely show the .tar file progress. -f : filename of... Add solution -
Shell/Bash 2021-08-30 11:10:01
bash make directories using specific text from filenames
# Basic syntax: for file in /input/directory/search_pattern; do substring=${file:start#:length} mkdir "/output/directory/prepended_text_${substring}_appended_text" done # Where: # - The search_pattern should return the set of files you want t... Add solution
Best helpers
Ms.Zizmor
+5
Don Yarber
+5
Mike
+5
Jack Steele
+5
Bossylobster
+5
Tjb1982
+5
Alana
+5
Mythio
+5
Sharp Wit
+5
Rane Chetan
+5
Christie
+5
Androider
+5
Robert Astle
+5
Joshua Burns
+5
Sea shell
+5
Zolani13
+5
Meldie Ching
+5
Nancye S....
+5
Oritatami
+5
FirstLegion
+5