Tuesday, May 14, 2024
 Popular · Latest · Hot · Upcoming
0
rated 0 times [  0] [ 0]  / answers: 1 / hits: 426  / 1 Year ago, wed, january 11, 2023, 1:32:36

Is there some tool to Ubuntu like Filerfrog, capable to perform tasks like:




  • Delete Empty FilesFolders

  • Copy Path to Clipboard

  • Invert selection

  • Split and Join folders

  • List of Files inside a folder

  • Rename Operations to all files inside specific folder


More From » filemanager

 Answers
3

To delete all empty subfolders, you can use the find command:



find -type d -empty  -delete


-type d means to only search for directories, -empty and -delete are self explanatory.



To copy the path of the current folder in the Nautilus filemanager to clipboard, simply right click on the folder name in the toolbar and select copy. If you want to display the current directory on the command line, the pwd command does this.



To invert the selection in Nautilus, use the "invert selection" option in the menu (depending on your Nautilus version it might be in the edit menu, or in the general one).



There is also an option to select by pattern, it can be accessed by pressing CTRL+s.



I have no idea, what you mean by "split and join folders".



To list the files inside a folder, you can use the ls command in terminal.



To bulk rename, you can either install a tool like Thunar file manager, or use the command line. Since there are many possible kinds of bulk rename, I can't give a general command line solution, I can just recommend to learn the basics of bash scripting and also to have a look at sed and awk. Believe me, if you have a lot of different file operations to do, it pays of.


[#30575] Thursday, January 12, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
rowbris

Total Points: 419
Total Questions: 122
Total Answers: 101

Location: Norway
Member since Mon, May 23, 2022
2 Years ago
;