this post was submitted on 19 Dec 2023
1 points (100.0% liked)

BlendIT BSD Cafe - Unix - and Unix like - OSes and Software

29 readers
2 users here now

Immerse yourself in the cozy ambiance of our BSD Cafe, where the aroma of virtual coffee blends seamlessly with the spirit of Unix and Unix-like operating systems. Delighted to have you join our community of enthusiasts and explorers! This cafe is more than just a meeting spot; it's a melting pot of ideas and discussions encompassing the vast universe of BSD, Unix, and Unix-like systems. Whether you're a seasoned Unix guru, a Linux lover, or intrigued by the flavors of BSD, our cafe is your go-to destination for all things related to these fascinating operating systems. Share your stories, pose intriguing questions, or engage in enlightening conversations about the robustness, versatility, and innovation within the Unix and BSD worlds. From the sturdy foundations of traditional Unix to the vibrant ecosystems of BSD variants and Linux distributions, every topic is ripe for discussion. We pride ourselves on fostering a warm, respectful environment where knowledge is exchanged freely and every member is valued. Whether you're here to learn, contribute, or simply to enjoy the camaraderie, the BSD Cafe is your home away from home. So, pull up a chair, grab your favorite virtual beverage, and dive into the lively discussions and shared wisdom that make our BSD Cafe a unique and welcoming space. We’re excited to hear your insights, answer your questions, and journey together through the captivating world of Unix and Unix-like OSes and software.

founded 11 months ago
MODERATORS
 

Backgournd copy/move files in vifm with task-spooler

I recently found out that you can advantageously use a batch/queue task
system like task-spooler (tsp or ts executable, depending on your
distro) in a variety of situations.

For instance, to copy or move files in vifm :

" mc-like maps
" copy
nnoremap <f5> :!tsp rsync -av --progress %f %D<cr>
" move
nnoremap <f6> :!tsp rsync -av --progress --remove-source-files %f %D<cr>

The copy/move will then be queued and run in the background. You can
check it with :

tsp

To cat a task output :

tsp -c task-id

https://viric.name/soft/ts/

Idea inspired by this gotbletu video:

https://inv.tux.pizza/watch?v=zrBUZ2g5_O4

#unix #batch #queue

@unix

no comments (yet)
sorted by: hot top controversial new old
there doesn't seem to be anything here