Find Jobs
Hire Freelancers

Bash Script - Curl (Filename Too Long Error)

$10-30 USD

Completed
Posted over 1 year ago

$10-30 USD

Paid on delivery
Please read carefully, otherwise i dont answer auto bids. I get error FILE NAME TOO LONG #!/usr/bin/bash BACKDIR=/home/ykose/yedekBOX DATE=`date +'%m-%d-%Y'` WPDOSYA=`for file in $BACKDIR/*$[login to view URL]; do echo "${file}"; done` BASE64=$( base64 $WPDOSYA -w 0) curl -X 'POST' \ '[login to view URL]' \ -H 'accept: /' \ -H 'Authorization: Bearer $2b$10$DQmaItvVtZUUpEDCwGLPCOazPAms02NytCa81uWTQgVqJcS4_5g4m' \ -H 'Content-Type: application/json' \ -d @< '{ "phone": "999999999", "filename": '[login to view URL]', "base64": "data:file/pdf;base64", '$BASE64', "isGroup": "false" }' How can i fix the FILE NAME TOO LONG error? $20 for the correct answer.
Project ID: 35450768

About the project

2 proposals
Remote project
Active 1 yr ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
$0 USD in 7 days
5.0 (5 reviews)
2.0
2.0

About the client

Flag of TURKEY
Ankara / Çankaya, Turkey
5.0
19
Payment method verified
Member since May 17, 2020

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.