Ataullha / CmdExplorer

show all files in a directory, create a file, delete a file, rename a file, copy a file, move a file using java command line arguments and basic terminal commands for some quick files, directory related things

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

COMMAND LINE FILE EXPLORER

show all files in a directory, create a file/directory, delete a file/directory, rename a file/directory, copy a file/directory, move a file/directory using java command line arguments and basic terminal commands

Summary

HOW TO USE

 download fe.java file
 javac fe.java 
 java fe help 

USER MANUAL

    [COMMAND LINE FILE EXPLORER]

  • create : java fe create [target] or java fe create [target] [file_name]

  • delete : java fe delete [target] [file_name] or java fe delete [file_name]

  • explore : java fe explore[target_directory_address] or java fe explore [directory_name]

  • copy : java fe copy [source_file_name] [target_directoy] or java fe copy [source_directory] [target_directory]

  • move : java fe move [source directory] [target_directory] or java fe move [source_file_name] [target_directory]

  • rename : java fe rename [target_directory/target_file_name] [renamed_name]

How To Use

Intialize or Start

  • Download

    fe.java N.B. all the others files here are for better doucmentations and understandings
    or copy everything from fe.java and save it as fe.java

  • Compile it using

    javac fe.java

javac_fe

Run File Explorer

create

✔️ create direcotry or file using java command line args , if we provide a args[1] string like file_name.extension then it will create a file with and if we provide a args[1] string without extension then it will create a directory/folder

  • File :
    java fe create [file_name.file_extension]

fe_create_file

  • Directory :
    java fe create [directory_name]

fe_create_dir


explore

✔️ explore directory or file using java command line args, if we provide nothing it will just explore the current directory and if we provide a valid directory then it will explore that directory level by level

  • Explore Current Directory :
     java fe explore 

fe_explore_cmd

fe_explore_doing

  • Explore Target Directory :
     java fe explore [target_direcotry] 

java_fe_explore_target

delete

✔️ delete directory or file using java command line args, if we provide a args[1] string with the directory name/file_name or target_directory_with_file_name or two args[1] args[2] strings like target_directory and file_name we can delete the directory or file from our system ⚠️

  • Delete a Directory/File :
     java fe delete [target_directory/target_file]
    or java fe delete [target_address] [target_directory/target_file]

java_fe_delete_dir

copy

✔️ copy a dierctory or file using java command line args to another directory, if we provide two args string args[1] as source_file or source_directory and args[2] target_directory we can do that

  • Copy a File/Directoy to another Directory :
     java fe copy [source_file/source_directory] [target_directory]
    directory_copied_to directory file_copied_in directory

move

✔️ move a directory or file using java command line args to another directory, if we provide two args args string args[1] as source_file or source_directory and args[2] target_directory we can do that (almost copy!)

  • Move a File/Directory to another Directory :
     java fe move [source_file/source_directory] [target_directory]

file_moved_directory_fe directory_moved_to_directory_fe

rename

✔️ rename a directory or file using java command line args, if we provide two args string args[1] as source_file or source_directory and args[2] as new name for renaming that file or directory we can do that

  • Rename a File/Directory :
     java fe rename [source_file/source_directory] [new_name]

file_renamed_fe rename_java_fe_directory

help

✔️ for any kind of explorer help

  • Help :
     java fe help 

fe_h java_fe_help

About

show all files in a directory, create a file, delete a file, rename a file, copy a file, move a file using java command line arguments and basic terminal commands for some quick files, directory related things

License:MIT License


Languages

Language:Java 100.0%