SMBCRC(1)

πŸ“¦ version 1.2.2, in ubuntu jammy

πŸ’– SMBCRC πŸ’–

okay bestie, sit down, hydrate, because this is the manual page for smbcrc β€” the configuration file for Smbc, straight out of the Samba Commander configuration file docs. it's giving "settings file but make it cute". πŸŽ€


🌸 NAME 🌸

smbcrc β€” the configuration file for Smbc. that's it, that's the whole name, she's simple and she knows it. ✨


πŸ¦‹ DESCRIPTION πŸ¦‹

so basically: an smbcrc file includes all parameters for Smbc. no cap, all of them. πŸ“‹

and here's the cute part β€” you can set the value in parameters in two types:

username John Doe
or
username "John Doe"

bare or in quotes, both are valid, she doesn't judge. πŸ’…


πŸ‘‘ OPTIONS πŸ‘‘

here's the whole roster, every single one, no skipping. 🫢

  • username β€” the user name that is used during login to remote host. default is "guest".

Example:

username Jon Doe
  • password β€” the password that is entered during login to remote host. default is none.

Example:

password bryDS2team
  • smbclient β€” path to the file "smbclient", which is necessary for sending a WinPopup message. default is none. heads up though: only the functions concatenated with sending and receiving WinPopup messages work as frontend β€” the Samba Team doesn't include these functions in the libsmbclient library. so yeah, you need the actual binary for that one. 🫠

Example:

smbclient /usr/bin/smbclient
  • localdir β€” the start local directory when running Smbc. default is HOME.

Example:

localdir /home/rafim/tym
  • workgroup β€” the start workgroup. default is none.

Example:

workgroup WORKGROUP
  • host β€” the start host. default is none.

Example:

host AIR
  • share β€” the start remote host dir. default is none.

Example:

share /sciepa/mpg/
  • typeofsort-left, typeofsort-right β€” the type of sort for files and directories in the selected panels. default is 1.
    • typeofsort-left 1 β€” sort by filenames
    • typeofsort-left 2 β€” sort by extension
    • typeofsort-left 3 β€” sort by size
    • typeofsort-left 4 β€” don't sort

Examples:

typeofsort-left 1
typeofsort-right 1
  • reversesort-left, reversesort-right β€” the type of reverse sorting. default is 0.
    • reversesort-left 1 β€” reversesort on
    • reversesort-left 0 β€” reversesort off

Examples:

reversesort-left 0
reversesort-right 0
  • group-left, group-right β€” group files and directories. default is 1.
    • group-left 1 β€” group on
    • group-left 0 β€” group off

Examples:

group-left 1
group-right 1
  • timeout β€” connection time out in seconds. default is 3 seconds. this parameter is used when Smbc tries to connect to a remote host and waits for a response. ⚠️ but listen: if you have Samba in a version oldest than 3.0.0, this parameter doesn't work, and Smbc may be waiting for a very long time. like, go-make-a-snack long. 😭

Example:

timeout 3
  • autoresume β€” auto resume download, doesn't ask if the connection is broken. default is 0. if the connection to the remote host or to the local file was broken and autoresume was set to 1, Smbc sets retry-delay-time for this file and immediately goes to the next item in the download/upload list. so efficient of her. πŸ’…
    • autoresume 1 β€” autoresume on
    • autoresume 0 β€” autoresume off

Example:

autoresume 1
  • indextime β€” the time between smbc restarts network files indexing, in seconds. default is 300 seconds.
    • indextime 0 β€” smbc disable indexing network files
    • indextime 1 β€” smbc only once index network files
    • indextime 300 β€” smbc index network files then delay 300 second and restart indexing

Example:

indextime 300
  • char-convert β€” converts all chars from UTF-8 to terminal charset. default is 1.
    • char-convert 1 β€” char-convert on
    • char-convert 0 β€” char-convert off

Example:

char-convert 1
  • retry-delay-time β€” delay time of retrying download, in seconds. default is 60 second.

Example:

retry-delay-time 60
  • askquit β€” ask if quit from smbc. default is 1.
  • retry-read-groups β€” how many times smbc retries to read groups when samba returns fail or empty result. default is retry-read-groups 5.
    • retry-read-groups = -1 β€” retries to success
    • retry-read-groups = 0 β€” doesn't retry
    • retry-read-groups > 0 β€” retries retry-read-groups times
  • retry-read-hosts β€” how many times smbc retries to read hosts when samba returns fail or empty result. default is retry-read-hosts 5.
    • retry-read-hosts = -1 β€” retries to success
    • retry-read-hosts = 0 β€” doesn't retry
    • retry-read-hosts > 0 β€” retries retry-read-hosts times
  • retry-read-shares β€” how many times smbc retries to read shares when samba returns fail or empty result. default is retry-read-shares 5.
    • retry-read-shares = -1 β€” retries to success
    • retry-read-shares = 0 β€” doesn't retry
    • retry-read-shares > 0 β€” retries retry-read-shares times
  • colorK XXXX,YYYY,ZZZZ β€” defines three colors, where XXXX,YYYY,ZZZZ are red, green, blue and have value = <0000..1000>, and K has value <0..2>. default is 0 colors defined. 🌈

Examples:

color0 0100,0100,0610
color1 0900,0080,0900
color2 0010,0500,0500
  • extcolorK β€” define color for file extension, K has value <0..2>, one definition per line, maximal extension length = 10 chars, default 0 colors defined. 🎨

Examples:

extcolor0 exe
extcolor0 bin
extcolor0 bat
extcolor0 tar
extcolor0 gz
extcolor0 tgz
extcolor1 mp3
extcolor1 wav
extcolor1 mod
extcolor2 avi
extcolor2 mpg
extcolor2 mpeg

🧚 SEE ALSO 🧚

smbcrc(1) β€” yes bestie, she references herself. main character energy fr fr. πŸ‘‘


πŸ’œ AUTHOR πŸ’œ

Originally written by Rafal Michniewicz <rafim@data.pl>. 🫢


and that's the whole page, no notes, we ate. ✨ this was SMBCRC for SMBC Version 1.1.2, dated February 2005 β€” thanks for reading my little doc dump, ily, go touch some config files πŸ’–πŸŒΈ

πŸ“¦ where this page comes from