mirror of
https://github.com/veeso/termscp.git
synced 2025-12-07 09:36:00 -08:00
Unset LANG in SCP; provides timestamps for files
This commit is contained in:
@@ -467,7 +467,7 @@ impl FileTransfer for ScpFileTransfer {
|
||||
let p: PathBuf = self.wrkdir.clone();
|
||||
match self.perform_shell_cmd_with_path(
|
||||
p.as_path(),
|
||||
format!("ls -l \"{}\"", path.display()).as_str(),
|
||||
format!("unset LANG; ls -l \"{}\"", path.display()).as_str(),
|
||||
) {
|
||||
Ok(output) => {
|
||||
// Split output by (\r)\n
|
||||
|
||||
Reference in New Issue
Block a user