Try New Technology

Archive for September, 2020

Create file with full directly listing (Linux)

by on Sep.06, 2020, under Linux, Techie

If you need a full listing of all the files in a folder saved to a file then use the following from a shell:

'ls' > file_list.txt

NOTE: In this case the file_list.txt file will be listed in the file_list.txt file, and to avoid this, just save the file_list.txt file to a different location than you are running the ‘ls’ command in.

Comments Off on Create file with full directly listing (Linux) more...

Backing up folder with symlinks in it

by on Sep.06, 2020, under Linux, Techie

If you need to backup a folder with symlinks and keep them intact use the following from the shell:

tar -csf folder.tar /folder/location/with/symlinks/

Comments Off on Backing up folder with symlinks in it more...

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!

Visit our friends!

A few highly recommended friends...