Recommended Posts

 GOAL:

The very reason of this project is to make Your life easy for a little bit thanks to efficient automation of daily routine.

FUNCTIONS:

For now, TAM makes possible to find files in whatever directory and run them with chosen viewers. hmmm.. yea, looks rather boring ain't it??? :)) well, let's look on some examples & details will show You how this "boring" feature can make Your life better.

Examples:

So, actually we have hella number of files & we (in many cases) need to use regex to make searching through that endless damn heap efficient, but the most of us have no time to learn such stuff + regex software have some differences. 2nd moment, we need not just run files, but run them with different options. So, let's deal w/ example..

 python3 ./tam.py -path0 "/tst"  -find_files -tmp_file "/tmp/tst02" -in_name ".mp3" -view_w "vlc --sout-x264-b-bias=-15" -view_w "smplayer"  -cols 2 -rows 15 -col_w 100 -in_name "some"

 -path0 sets folder to search stuff.

 -find_files activates function to search.

 -tmp_file sets tmp files (actually, the're two tmp files: in our case, /tmp/norm_tst02 & /tmp/err_tst02).

 -in_name sets keyword.

 -view_w sets viewer w/ options.

 -cols sets number of columns.

 -rows sets number of rows.

 -col_w sets width of column.

 ===========

 This command forms table of found files, each file gets a number + we see list of viewers (each viewer has own key number too)..

 To run file, we write "<key number of viewer>  <key number of file>", then press Enter. for instance, "0 2" runs file (key number "2") w/ viewer (key number "0").

 Command "np" shows next page/table.

 "pp" - previous page.

 "go2  <number of page/table>"

 "0p" - 1st page.

 "lp" - last one.

 "fp  <key number of file>" shows full path to chosen file.

 ctrl + c to exit.

 Supported Platforms:

  So far, TAM has been tested only for Linux. However, theoretically this variant must work on FreeBSD, NetBSD & MacOS quite smoothly (but i don't guarantee it).

https://github.com/SarK0Y/TAM

Link to comment
https://www.neowin.net/forum/topic/1430114-tam/
Share on other sites

  • 2 weeks later...
  • 1 month later...
  • 2 weeks later...
  • 1 month later...
  • 4 weeks later...
  • 4 months later...

i've run moderately huge reconstruction to add new functionality..

MAKE CONSOLE GREAT AGAIN :)

Tip of the day: «tam.rst -rilocan "sudo standby" -sleep "10m" -now» - this command allows to standby pc, if it was accidentally waken up + time of event gets on display.. other cmds can be run in the same way.

remark: "rilocan" stands for "Run it later or cancel now".

https://github.com/SarK0Y/TAM_RUSTy/tree/not_tested_func

 

Link to comment
https://www.neowin.net/forum/topic/1430114-tam/#findComment-598891925
Share on other sites

So.. Shols. :)

Shol stands for "short link" & it's the damn One of Corner Stones to breathe new life into CLI. For now, TAM has gotten three types of shols..

  • ##{file's index}{hit Space} ==>> shol unwraps into full path immediately.
  • @@{file's indx}{press Space} ==>> shol keeps its compact form.
  • /write/path/to/Your/file {type "<<<"} ==> full path turns into shol.

Alt+- to switch betwixt shol/full paths. Please, Turn each manually written path to shol form, otherwise program fails to process paths.

E.g. ==>> term ls -lah 0##file1 1@@file2 @2@file3

https://github.com/SarK0Y/TAM_RUSTy/tree/b0c81febe1d688eeb216a10c66cb1fefb7f85501

https://github.com/SarK0Y/TAM_RUSTy/tree/not_tested_func

Link to comment
https://www.neowin.net/forum/topic/1430114-tam/#findComment-598893164
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Posts

    • Anyway to download these versions without being on the Experimental builds?
    • Nothing is stopping you from continuing with your testing cadence. If updates are released every 2 weeks instead of 4, and you test once every 4 weeks, the exact same amount of patches will still be available for you in those 4 weeks. For example: Before 4th week - patch 1, 2, 3, 4 After 2nd week - patch 1 and 2 4th week - patch 3 and 4 Still the same amount after 4.
    • Everyone else has said it. I'm gonna say it - you don't know what you're talking about. I do. I have two laptops. One work, one personal. I have access to two more laptops - both personal. At home I manually update my personal laptop when I see on Neowin that there is an update - I carry on and only apply the updates when I am ready. My work one only updates when my workplace decides to send it - I carry on and only apply the updates (when they actually arrive, which is usually days after the release) when I switch off the laptop at the end of the day as usual. The two other personal laptops only get updated when I get to it which is rarely - the people who own them carry on using them until I get to it and update them. All of the browsers on all laptops are configured to restore the tabs when launched. Google and Microsoft have changed from 6 weeks to 4, and it looks like it's going to move to 2. None of these changes affect how any of these browsers on the laptops are used. Not one jot. My advice to you is stop panicking whenever you see an update. Just carry on with what you're doing. This even benefits you in a way - from your comment you sound like you don't like the changes or the frivolous new features - great - then carry on as before!
    • AMAZON needs to take total accountability for this.
    • Server Summit had a heap of announcements, ADCS changes are baller.
  • Recent Achievements

    • Week One Done
      Jeroen Wilms earned a badge
      Week One Done
    • Week One Done
      rolfus earned a badge
      Week One Done
    • One Month Later
      Leroy Jethro Gibbs earned a badge
      One Month Later
    • Conversation Starter
      flexorcist earned a badge
      Conversation Starter
    • One Month Later
      AndreaB earned a badge
      One Month Later
  • Popular Contributors

    1. 1
      +primortal
      509
    2. 2
      +Edouard
      198
    3. 3
      PsYcHoKiLLa
      138
    4. 4
      ATLien_0
      90
    5. 5
      Steven P.
      80
  • Tell a friend

    Love Neowin? Tell a friend!