Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Some basic Linux questions

Featured Replies

  • I have a few basic Linux questions. I thought lets ask it at the unRAID forums cause unRAID has a awesome helping community.
     

    • How to list certain files (like in dos "list James*")?
       
      How to find and move a couple of files automated?
       
      How to rsync 2 directories?

 

I'll do some googling myself but first my nephew's birthday...

  • Author

To copy a directory to another directory i did:

 

rsync -rvau --append * /mnt/disk2/Movies

 

-r --> recursive

-v --> verbose

-a --> archive

-u --append --> append data onto shorter files

 

Is there a better way?

For general console help, there is the FAQ, unRAID Console Questions section.  It's old and incomplete, but does have a few tips.

 

The Console commands wiki page has a number of commands, not sure if the one you want is there.  I used to use list constantly in my DOS days!  Nothing like it so far that I can find, but with the less command, you can do a fair amount of viewing.  I currently use Total Commander from Windows, with its built-in lister and viewer.

 

For rsync options, there's a Methods and Tools section (of the Upgrade guide) that has suggested rsync commands.

  • Author

Thanks for the links! Interesting read.

 

If you do for example this in your movie directory:

 

ls | grep james*

 

You see al movies with the word "james" in it. Find out this afternoon.

 

Thanks for the links! Interesting read.

 

If you do for example this in your movie directory:

 

ls | grep james*

 

You see al movies with the word "james" in it. Find out this afternoon.

Google the linux find command.

A simple

ls James*

will work too. But be aware, that linux is case sensitive! So the above command won't list files starting with a lowercase james.

  • Author

A simple

ls James*

will work too. But be aware, that linux is case sensitive! So the above command won't list files starting with a lowercase james.

 

That work too? I'll try.  ;D

A simple

ls James*

will work too. But be aware, that linux is case sensitive! So the above command won't list files starting with a lowercase james.

 

find . -iname "james*" 

 

is case insensitive.

  • Author

So "-name" is case sensitive and ""-iname" not? Interesting...

  • Author

Did some testing with the "find" command. I must say a very powerful command!

 

find /mnt/cache/directory\ tocopyfrom/ -name '*group.mkv' -exec mv -v {} /mnt/disk2/directory\ \tocopyto/ \;

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.