Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

grep issue #1

Open
RomanYankovsky opened this issue Jan 13, 2020 · 3 comments
Open

grep issue #1

RomanYankovsky opened this issue Jan 13, 2020 · 3 comments

Comments

@RomanYankovsky
Copy link

That's what I get when I try to run mov-2-mp4.sh:

$ sudo ./mov-2-mp4.sh
Usage: grep [OPTION]... PATTERN [FILE]...
Try 'grep --help' for more information.

How can I fix this?

My settings:

# Variables
root_folder="/data/nextcloud/"                                     # Where to scan
installation_path="/var/www/html"                                  # Full path where nextcloud is installed, must not end with '/'
old_extension=".mov"                                               # e.g. ".mov"
new_extension=".mp4"                                               # e.g. ".mp4"
safe_mode=true                                                     # true = rename file to .mov-old, false = permanently delete old .mov file
ignoregrep=""                                                      # Ignore stderr messages from find that match this grep (e.g. 'Permission denied' for some folder name)
instance_id=$(openssl rand -hex 4)
append_extension=-wip-$instance_id
@RomanYankovsky
Copy link
Author

No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 18.04.3 LTS
Release:        18.04
Codename:       bionic

@Flegma
Copy link

Flegma commented Apr 24, 2020

I have the same issue on my Ubuntu 18.04 server.
Anyone solved it yet?

@JDC8077
Copy link

JDC8077 commented Sep 5, 2020

Same here, using same for AVI instead of MOV. Noticed in the folder there were some residual files with extension "avi-wip-something" which seem to be previous temp files. Deleted and all good.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants