{"id":23665868,"url":"https://github.com/AlfonsoG-dev/FileManager","last_synced_at":"2025-12-08T11:30:14.748Z","repository":{"id":205865237,"uuid":"715256656","full_name":"AlfonsoG-dev/filesManager","owner":"AlfonsoG-dev","description":"file system operations, delete, create, copy, move, list","archived":false,"fork":false,"pushed_at":"2024-12-27T02:44:45.000Z","size":374,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-12-27T03:25:46.453Z","etag":null,"topics":["clitool","file-manager","java-application"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AlfonsoG-dev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-11-06T19:24:45.000Z","updated_at":"2024-12-27T02:44:49.000Z","dependencies_parsed_at":"2023-11-28T01:29:35.641Z","dependency_job_id":"306398c8-67ec-44c2-bbf0-0dfaca644ed5","html_url":"https://github.com/AlfonsoG-dev/filesManager","commit_stats":null,"previous_names":["alfonsog-dev/filesmanager"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlfonsoG-dev%2FfilesManager","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlfonsoG-dev%2FfilesManager/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlfonsoG-dev%2FfilesManager/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlfonsoG-dev%2FfilesManager/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AlfonsoG-dev","download_url":"https://codeload.github.com/AlfonsoG-dev/filesManager/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239665933,"owners_count":19677047,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["clitool","file-manager","java-application"],"created_at":"2024-12-29T06:18:25.297Z","updated_at":"2025-12-08T11:30:14.672Z","avatar_url":"https://github.com/AlfonsoG-dev.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Files Manager\n\u003e- a basic file system operator\n\u003e\u003e- for basic operations like: delete, create, copy and move files or folders\n\n# Dependencies\n- [java_jdk_17.0.8](https://www.oracle.com/java/technologies/javase/jdk17-archive-downloads.html)\n\n# References \n- [java 17 I/O docs](https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/package-summary.html)\n\n## Features\n- [x] delete files or folders\n- [x] make folders or nested directories\n- [x] move folders or files\n- [x] rename folders or files\n- [x] copy folders or files\n\n-------\n\n## Usage\n\n\u003e- you can use the `.jar` file to execute the project\n```shell\njava -jar app.jar operation\n```\n### list\n\n\u003e- `-ls`: list all files of the given folder\n\u003e\u003e- `java -jar app.jar -ls .\\src\\`\n\n### List zip entries\n\n\u003e- `le`: list the entries of a compressed file\n\u003e\u003e- `java -jar app.jar -le file.zip`\n\n### read lines\n\u003e- `-rl`: read file lines of the given file\n\u003e\u003e- `java -jar app.jar -rl README.md`\n\n### Search\n\n\u003e- `-ff`: to search in the given path by:\n\u003e- only use to search in folders, it doesn't work with files\n\u003e\u003e- extension: `-e \".java\"`\n\u003e\u003e\u003e- `java -jar app.jar -ff .\\bin\\ -e \".class\"`\n\u003e\u003e- name: `-n \"textutils\"`\n\u003e\u003e\u003e- `java -jar app.jar -ff .\\bin\\ -n \"textutils\"`\n\n\u003e- `-fl`: search for a word in the given file path by:\n\u003e\u003e- `-i`: ignore case\n\u003e\u003e- `-s`: smart ignore case\n\u003e\u003e\u003e- `java -jar app.jar -fl .\\src\\Main.jar -s \"args\"`\n\n### make\n\n\u003e- `-md`: create a folder\n\u003e\u003e- `java -jar app.jar -md folder_name`\n\n\u003e- to create folders with: \",\"\n\u003e\u003e- `java -jar app.jar -md folder1, directory2, ...n`\n\n\u003e- `-ni`: create a file\n\u003e\u003e- `java -jar app.jar -ni main.py`\n\n\u003e\u003e- supports creation using: \",\"\n\u003e\u003e- `java -jar app.jar -ni main.py, main.java`\n\n### start or open\n\n\u003e- `-st`: start or open\n\u003e\u003e- `java -jar app.jar -st .\\bin\\`\n\n### move\n\n\u003e- `-mv`: move the content of source to target\n\u003e\u003e- `java -jar app.jar -mv .\\source to .\\target`\n\n\u003e- to move directories with : \",\"\n\u003e\u003e- `java -jar app.jar -mv source1, source2 to target`\n\n\n\u003e- `-mf`: move files\n\u003e\u003e- `java -jar app.jar -mf source/* to target`\n\n\u003e\u003e-supports move from more than 1 source to 1 target\n\u003e\u003e- `-mf surce1/* source2/* to target`\n\n### rename\n\n\u003e- `-rn`: rename the folder\n\u003e\u003e- `java -jar app.jar -rn oldName to newName`\n\u003e\u003e\u003e- it's the same as move but this creates the new name folder in run time and deletes the old directory\n\n### Copy\n\n\u003e- `-cp`: copy a source folder into target directory\n\u003e\u003e- `java -jar app.jar -cp source to target`\n\n\u003e- `-cf`: to copy files with: `*`\n\u003e\u003e- `java -jar app.jar -cf source/* to target`\n\n\u003e\u003e- supports copy from 1 source to more than 1 target\n\u003e\u003e- `-cf source/* to target1, target2`\n\n\u003e\u003e- supports copy from more than 1 source to 1 or more targets\n\u003e\u003e- `-cf source1/* source2/* to target1, target2`\n\n\u003e- to copy folders with: \",\"\n\u003e\u003e- `java -jar app.jar -cp source1, source2 to target`\n\n\u003e\u003e- supports copy from 1 source to more than 1 target\n\u003e\u003e- `-cp source to target1, target2`\n\n\u003e\u003e- also supports copy form more than 1 source to more than 1 target\n\u003e\u003e- `-cp source1, source2 to target1, target2`\n\n#### Sub-Command\n\n\u003e- `--r`: used when you need to replace existing resources of the target.\n\u003e\u003e- `java -jar -cp .\\src\\App.java to .\\example\\ --r`\n\u003e- `--c`: used when you need to copy and the source files or directories don't exists in the target.\n\u003e\u003e- `java -jar -cp .\\src\\App.java to .\\example\\ --c`\n\u003e\u003e\u003e- `--c`: also is the default option.\n\n### Delete\n\n\n\u003e- `-dd`: delete a folder and the content inside\n\u003e\u003e- you need to give consent: `-dd test_file --y`\n\u003e\u003e- to delete with: \",\"\n\u003e\u003e- `-dd test1, test2 --y`\n\n\u003e- `-df`: delete files\n\u003e\u003e- you need to give consent: `-df test_file.c --y`\n\u003e\u003e- to delete a file with: \",\"\n\u003e\u003e- `-df test1.c, test2.c --y`\n\n\n### Compression\n\n\u003e- `-cm`: compress the element of the given path\n\u003e\u003e- `java -jar app.jar -cm .\\bin\\`\n\n\u003e- if you want to control the elements to include in the zip use: `-i`\n\u003e\u003e- `java -jar app.jar -cm .\\localPath -i \"src, bin, .jar`\n\n### De-compression\n\n\u003e- `-dc`: de-compress the elements of the compressed file\n\u003e\u003e- `java -jar app.jar -dc .\\compressedFile.zip`\n\n-------\n\n## Disclaimer\n\u003e- this project is for educational purposes\n\u003e- it is not intended to create a fully functional program\n\u003e- security issues are not taken into account\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FAlfonsoG-dev%2FFileManager","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FAlfonsoG-dev%2FFileManager","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FAlfonsoG-dev%2FFileManager/lists"}