[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Ranger-users] Feature suggestion: flat directory view

From: Miodrag Milić
Subject: [Ranger-users] Feature suggestion: flat directory view
Date: Thu, 28 Feb 2013 23:22:19 +0100
User-agent: Mutt/1.5.21 (2010-09-15)

With powerful scout command around it would be great to have 'flat view ' of 
the directory. 

    flat [-N]

N would represent depth level, for instance, flat -1 would remove all level 1 
directories and put all their children in the list. Without N, infinite depth 
is assumed which means no directories will be present, only files.

This is very useful option, particularly with scout -mf. For instance, you 

* very quickly delete all specific files in all subdirs or up to some level.
* bulk rename files from multiple directories. It would have to present full 
paths in the editor.
* quickly remove subdirectories by flattening parent dir, marking all files and 
moving them to "."

and so on, there are number of useful scenarios.

The status bar should show full path to the file that is highlighted since many 
files with the same name could be present in the list.
I am also not aware of any recursive search in ranger, only search in current 
directory and unless I didn't find it, this would be one alternative to it.

There would have to be unflat option too, which will work relative to the 
highlighted file (should switch to the file's directory and select it).

reply via email to

[Prev in Thread] Current Thread [Next in Thread]