Re: restructure folders

2022-01-14 Thread Jonathan Dowland
On Thu, Jan 13, 2022 at 07:23:14AM -0500, Greg Wooledge wrote: First of all, this already exists: https://manpages.debian.org/ Alas OP mentioned (not in the top message) that this is for an offline system. However manpages.d.o mentions it is generated using this software: https://github.

Re: restructure folders

2022-01-13 Thread David Wright
On Thu 13 Jan 2022 at 10:26:55 (+0100), sp...@caiway.net wrote: > > > > > What are you trying to do? > > > > > > I want to extract all man pages and all docs from all packages. I do > > > not want to install the packages. Then make nice search interfaces > > > with dwww and recoll. > > > > > >

Re: restructure folders

2022-01-13 Thread Greg Wooledge
On Thu, Jan 13, 2022 at 10:26:55AM +0100, sp...@caiway.net wrote: > > > I want to extract all man pages and all docs from all packages. I do > > > not want to install the packages. Then make nice search interfaces > > > with dwww and recoll. First of all, this already exists: https://manpages.deb

Re: restructure folders

2022-01-13 Thread sp...@caiway.net
> > > What are you trying to do? > > > > I want to extract all man pages and all docs from all packages. I do > > not want to install the packages. Then make nice search interfaces > > with dwww and recoll. > > > > This is to be used in areas without internet access. I have a local > > reposit

Re: restructure folders

2022-01-12 Thread sp...@caiway.net
On Thu, 13 Jan 2022 07:54:38 +0100 "sp...@caiway.net" wrote: > On Wed, 12 Jan 2022 22:53:01 -0700 > Charles Curley wrote: > > > On Thu, 13 Jan 2022 06:00:12 +0100 > > "sp...@caiway.net" wrote: > > > > > I found a python script to extract debian packages, but every > > > package is extracted i

Re: restructure folders

2022-01-12 Thread sp...@caiway.net
On Wed, 12 Jan 2022 22:53:01 -0700 Charles Curley wrote: > On Thu, 13 Jan 2022 06:00:12 +0100 > "sp...@caiway.net" wrote: > > > I found a python script to extract debian packages, but every > > package is extracted in a directory named after the packagefile, so > > this structure is formed: >

Re: restructure folders

2022-01-12 Thread Charles Curley
On Thu, 13 Jan 2022 05:31:25 +0100 "sp...@caiway.net" wrote: > Is this possible on the commandline? Yes. The following untested code should do it: cd / mv dir1/dirA . mv dir2/dir* . rm -r dir1 dir2 In particular, you will lose any files in dir1 and dir2 not specified in the relevant mv. Also,

Re: restructure folders

2022-01-12 Thread Charles Curley
On Thu, 13 Jan 2022 06:00:12 +0100 "sp...@caiway.net" wrote: > I found a python script to extract debian packages, but every package > is extracted in a directory named after the packagefile, so this > structure is formed: What are you trying to do? From your limited selection of files, it appea

Re: restructure folders

2022-01-12 Thread sp...@caiway.net
On Thu, 13 Jan 2022 05:41:49 +0100 Emanuel Berg wrote: > sp...@caiway.net wrote: > > > I have this foldertree tree: > > > > /dir1/dirA/dirB > > /dir2/dir* > > > > I want the foldertree to become: > > > > /dirA/DirB > > /dir* > > > > Is this possible on the commandline? > > Any idea is welcome >

Re: restructure folders

2022-01-12 Thread Keith Bainbridge
On 13/1/22 15:31, sp...@caiway.net wrote: I have this foldertree tree: /dir1/dirA/dirB /dir2/dir* I want the foldertree to become: /dirA/DirB /dir* Is this possible on the commandline? Any idea is welcome Thanks! Question - why do you have these directories in / If they really are

restructure folders

2022-01-12 Thread sp...@caiway.net
I have this foldertree tree: /dir1/dirA/dirB /dir2/dir* I want the foldertree to become: /dirA/DirB /dir* Is this possible on the commandline? Any idea is welcome Thanks!