cancel
Showing results for 
Search instead for 
Did you mean: 

Truncate file to a specific size

0 Kudos

This is what i am trying to do:

exec( 'sh','truncate -s 20000 /path_to_file/filename.txt',8);

How can i truncate a file to a specific size at a specific remote directory that is accessible by Job Server?

Or something that would allow me to cut the file to remove rows of data from the file like "cut -c -20000 filename.txt"?

Regards,
Farha

Accepted Solutions (0)

Answers (0)