File-Explorer icon indicating copy to clipboard operation
File-Explorer copied to clipboard

how to hide a specific files and how to add search function

Open dimitrihtml opened this issue 5 years ago • 1 comments

hi there this project is very useful 1- i was hoping if you can tell me how to hide a specific file for example i want to hide all .php files the directory or i want to hide only a single specific .php file, is there any code that i can use to do that ?? 2- is there any possible way that you can help me out with search function for the files since if i wanted to upload a lot of files and then i need only a specific files i have to go looking for it one by one so i was hoping that you can provide s search code

thanks for this amazing project

dimitrihtml avatar Aug 07 '20 04:08 dimitrihtml

@dimitrihtml To answer your first question:

You can hide .php files pretty easily. All you have to do is add a preiod . before the name. For example, to change explorer.php all you need to do is change the filename to .explorer.php.

You can do this with any file on a Linux machine. You should enable 'Show hidden files' within the file explorer on your Linux OS so you can still click into it if you need to.

If you only use ssh or a terminal to access your server, you open the file the same way you open any other file, just with a period at the beginning since the filename now contains a period. For example: sudo nano /var/www/html/.explorer.php

As far as your second question goes, it's funny you have asked for this. I am currently working on a search function for this web application for the same reason you need it. I will let you know once I have completed my project.

pgpillar avatar Jun 03 '21 21:06 pgpillar