OVERVIEW
The Command-Line-File-Operations tool is a java based tool that is used to perform the operations on file that is Sorting, Removing the lines from the file.
This java based File Operation Tool was created using Eclipse workspace.
FEATURES
1.Sorting the Files: You can sort the lines in the file in Ascending, Descending, Ascending Case-Sensitive, Descending Case-Sensitive order.
2. Line Manipulation: You can remove the lines from
-One file that are in the other file.
-One file that are not in the other file.
3. Custom Configurations: The config.properties file specifies the input file path, output file path and log file path.
4. Exception Handling: The Exceptions are handled and logged them into logfile.log.
COMMAND LINE OPTIONS
- SortAsc
- SortDesc
- SortAscCase
- SortDescCase
- RemoveLinesIn
- RemoveLinesNotIn
USAGE
1.SortAsc: The FileOperations.exe command The SortAsc command is used to sort the lines in the file in ascending order.
Usage: FileOperations.exe SortAsc.
2.SortDesc: The SortDesc command is used to sort the lines in the file in descending order.
Usage: FileOperations.exe SortDesc.
3.SortAscCase: The SortAscCase command is used to sort the lines in the file in ascending order of case sensitivity.
Usage: FileOperations.exe SortAscCase.
4.SortDescCase: The SortDescCase command is used to sort the lines in the file in descending order of case sensitivity.
Usage: FileOperations.exe SortDescCase.
5.RemoveLinesIn: THe RemoveLinesIn command is used to remove the lines from one file that is present in another file.
Usage: FileOperations.exe RemoveLineIn.
6.RemoveLinesNotIn: The RemoveLinesNotIn command is used to remove the lines from one file that are not present in another file.
Usage: FileOperations.exe RemoveLinesNotIn.