Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #236372
| From | Jude DaShiell <jdashiel@panix.com> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: What command to use to output to a text file? |
| Date | 2021-06-23 16:50 +0200 |
| Message-ID | <Ctcmu-7x4-9@gated-at.bofh.it> (permalink) |
| References | <CtakG-6nm-5@gated-at.bofh.it> <CtaNH-6Mu-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
ls could be used with the following suffix: ls <target-dir> | tee -f listing.txt On Wed, 23 Jun 2021, Andrei POPESCU wrote: > On Mi, 23 iun 21, 13:36:27, Sharon Kimble wrote: > > > > I'm hoping that you folk can help me out of my predicament? > > > > I have transferred some files in their directories to an external drive > > mounted in a caddy. > > > > How can I get a text file saved from an output of everything on the > > drive, please? What commands do I need to use and what would be the > > syntax of it/them please? > > It's unclear what information you expect to have in the text file, > please elaborate on that (preferably with examples). > > For a simple listing of files with full path something like below should > do what you want: > > cd /path/to/external_drive > find > files_on_external_drive.txt > > > Hope this helps, > Andrei >
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
What command to use to output to a text file? Sharon Kimble <boudiccas@skimble.plus.com> - 2021-06-23 14:40 +0200
Re: What command to use to output to a text file? Andrei POPESCU <andreimpopescu@gmail.com> - 2021-06-23 15:10 +0200
Re: What command to use to output to a text file? Jude DaShiell <jdashiel@panix.com> - 2021-06-23 16:50 +0200
Re: What command to use to output to a text file? Sharon Kimble <boudiccas@skimble.plus.com> - 2021-06-23 16:50 +0200
Re: What command to use to output to a text file? steve <dlist@bluewin.ch> - 2021-06-23 15:10 +0200
csiph-web